freebsd-dev/sys/dev/pci
Ryan Stone c8912fcbdf Correct a PCI enumeration bug introduced in r264011
Ensure that first_func is set to 0 on every iteration of the PCI slot
enumeration loop after the first.  There is a continue statement that would
cause first_func to stay at 1 any PCI device where slot 0 has no functions
until we find a slot that does have a function.  This would cause us to
not enumerate the first PCI function on the device.

Credit to markj@ for spotting the bug.

X-MFC-With: r264011
2014-04-03 22:32:12 +00:00
..
eisa_pci.c - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
fixup_pci.c Use device_printf(). 2013-08-11 06:57:57 +00:00
hostb_pci.c Expand the set of APIs available for locating PCI capabilities: 2012-03-03 18:08:57 +00:00
ignore_pci.c
isa_pci.c Implement BUS_ADD_CHILD() for the isab(4) driver. It already calls 2011-12-14 12:34:02 +00:00
pci_if.m Add a method to get the PCI RID for a device. 2014-04-01 15:47:24 +00:00
pci_pci.c Add support for PCIe ARI 2014-04-01 16:02:02 +00:00
pci_private.h Add support for managing PCI bus numbers. As with BARs and PCI-PCI bridge 2014-02-12 04:30:37 +00:00
pci_subr.c Add support for managing PCI bus numbers. As with BARs and PCI-PCI bridge 2014-02-12 04:30:37 +00:00
pci_user.c Add support for displaying VPD for PCI devices via pciconf. 2014-01-20 20:56:09 +00:00
pci.c Correct a PCI enumeration bug introduced in r264011 2014-04-03 22:32:12 +00:00
pcib_if.m Add support for PCIe ARI 2014-04-01 16:02:02 +00:00
pcib_private.h Add support for PCIe ARI 2014-04-01 16:02:02 +00:00
pcib_support.c Add missing copyright date. 2014-04-01 17:35:31 +00:00
pcireg.h Add support for PCIe ARI 2014-04-01 16:02:02 +00:00
pcivar.h Add a method to get the PCI RID for a device. 2014-04-01 15:47:24 +00:00
vga_pci.c Drop the 3rd clause from all 3 clause BSD licenses where I am the sole 2014-02-05 18:13:27 +00:00