.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "PCI_FIND_EXT_CAPABILITY" "9" "09 October 2005" "" ""
.SH NAME
pci_find_ext_capability \- Find an extended capability
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int pci_find_ext_capability (struct pci_dev * \fIdev\fB, int \fIcap\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
PCI device to query
.TP
\fB\fIcap\fB\fR
capability code
.SH "DESCRIPTION"
.PP
Returns the address of the requested extended capability structure
within the device's PCI configuration space or 0 if the device does
not support it. Possible values for \fIcap\fR:
.PP
PCI_EXT_CAP_ID_ERR Advanced Error Reporting
PCI_EXT_CAP_ID_VC Virtual Channel
PCI_EXT_CAP_ID_DSN Device Serial Number
PCI_EXT_CAP_ID_PWR Power Budgeting