pci: resize pci_device arrayssyslinux-3.71-pre15
commitf8d4f8a641d0b397c4e57beb8de8fd3812e07b18
authorSebastian Herbszt <herbszt@gmx.de>
Sat, 19 Jul 2008 20:26:48 +0000 (19 22:26 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 20 Jul 2008 00:29:48 +0000 (19 17:29 -0700)
tree7b1df5fd8cfdfc20609385892c58aa6d81a57756
parent8502d91fbd68a145dd92981c0599961bcdc44e0b
pci: resize pci_device arrays

pci_bus->pci_device get's populated with functions so it
should take up to MAX_PCI_DEVICES * MAX_PCI_FUNC elements.
pci_device_list->pci_device get's populated with functions
for every possible pci bus. Therefore it should take up to
MAX_PCI_BUS * MAX_PCI_DEVICES * MAX_PCI_FUNC elements.
Also adjust count variable types.

- Sebastian
com32/include/sys/pci.h