[syslinux] [PATCH] pci: Introduce slot and function information
Sebastian Herbszt
herbszt at gmx.de
Wed Jul 16 15:15:55 PDT 2008
H. Peter Anvin wrote:
> Well, it's worse than that. We have fixed arrays in struct
> pci_device_list, too, and those are sized to MAX_PCI_DEVICES, but don't
> have *any* hardware limits on them; rather, they seem to be totally
> arbitrary. This does seem to require API changes no matter what.
I would assume the limit for pci_device[] in pci_device_list would be
MAX_PCI_BUSES * MAX_PCI_DEVICES * MAX_PCI_FUNC.
pci_device_list only gets initialized in pci_scan() so this limit should
be reasonable.
- Sebastian
More information about the Syslinux
mailing list