- Timestamp:
- 09/05/08 17:18:15 (3 months ago)
- Files:
-
- 1 modified
-
trunk/payloads/coreinfo/pci_module.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/payloads/coreinfo/pci_module.c
r3508 r3566 30 30 }; 31 31 32 static struct pci_devices devices[64]; 32 #define MAX_PCI_DEVICES 64 33 static struct pci_devices devices[MAX_PCI_DEVICES]; 33 34 static int devices_index; 34 35 … … 191 192 192 193 /* FIXME: Remove this arbitrary limitation. */ 193 if (devices_index >= 64)194 if (devices_index >= MAX_PCI_DEVICES) 194 195 return; 195 196
