search for: max_pci_func

Displaying 2 results from an estimated 2 matches for "max_pci_func".

2008 Jun 11
0
[PATCH] pci: fix off-by-one error and introduce MAX_PCI_FUNC
...have #define MAX_PCI_BUSES 255 and struct pci_bus_list { struct pci_bus pci_bus[MAX_PCI_BUSES]; uint8_t count; }; And in lib/pci/scan.c for (bus = 0; bus <= MAX_PCI_BUSES; bus++) { pci_bus_list->pci_bus[bus].pci_device_count = 0; Fix possible overflows and introduce MAX_PCI_FUNC. - Sebastian Index: syslinux-20080611/com32/lib/pci/scan.c =================================================================== --- syslinux-20080611.orig/com32/lib/pci/scan.c 2008-06-11 20:28:35.000000000 +0200 +++ syslinux-20080611/com32/lib/pci/scan.c 2008-06-11 21:19:22.000000000 +0200 @@ -351...
2008 Jul 13
4
[PATCH] pci: Introduce slot and function information
Introduce slot and function information to pci_device and fill them in pci_scan(). - Sebastian Index: syslinux-3.71-pre5-3-g852d962/com32/include/sys/pci.h =================================================================== --- syslinux-3.71-pre5-3-g852d962.orig/com32/include/sys/pci.h 2008-07-09 22:20:36.000000000 +0200 +++ syslinux-3.71-pre5-3-g852d962/com32/include/sys/pci.h 2008-07-09