The functions are called pci_{msi,msix}_count(), not pci_count_{msi,msix}().

MFC after:	3 days
This commit is contained in:
Mark Johnston 2013-06-14 01:12:59 +00:00
parent 8f1664b724
commit 563d463961
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251723

View File

@ -485,13 +485,13 @@ A driver is only allowed to use either MSI or MSI-X,
but not both. but not both.
.Pp .Pp
The The
.Fn pci_count_msi .Fn pci_msi_count
function returns the maximum number of MSI messages supported by the function returns the maximum number of MSI messages supported by the
device device
.Fa dev . .Fa dev .
If the device does not support MSI, If the device does not support MSI,
then then
.Fn pci_count_msi .Fn pci_msi_count
returns zero. returns zero.
.Pp .Pp
The The
@ -538,13 +538,13 @@ The
function returns zero on success and an error on failure. function returns zero on success and an error on failure.
.Pp .Pp
The The
.Fn pci_count_msix .Fn pci_msix_count
function returns the maximum number of MSI-X messages supported by the function returns the maximum number of MSI-X messages supported by the
device device
.Fa dev . .Fa dev .
If the device does not support MSI-X, If the device does not support MSI-X,
then then
.Fn pci_count_msix .Fn pci_msix_count
returns zero. returns zero.
.Pp .Pp
The The