comparison vidix/pci.c @ 27763:eea0247a150b

MAX_PCI_DEVICES 64 is not enough on my system (even though lspci only shows 25 devices), upped to 256
author ranma
date Sat, 18 Oct 2008 16:07:18 +0000
parents 3f6d802c6ea8
children 7de310806281
comparison
equal deleted inserted replaced
27762:7efce8fe3a04 27763:eea0247a150b
439 }; 439 };
440 #endif /* !defined(__powerpc__) */ 440 #endif /* !defined(__powerpc__) */
441 441
442 #define MAX_DEV_PER_VENDOR_CFG1 64 442 #define MAX_DEV_PER_VENDOR_CFG1 64
443 #define MAX_PCI_DEVICES_PER_BUS 32 443 #define MAX_PCI_DEVICES_PER_BUS 32
444 #define MAX_PCI_DEVICES 64 444 #define MAX_PCI_DEVICES 256
445 #define NF ((void (*)())NULL), { 0.0, 0, 0, NULL } 445 #define NF ((void (*)())NULL), { 0.0, 0, 0, NULL }
446 #define PCI_MULTIFUNC_DEV 0x80 446 #define PCI_MULTIFUNC_DEV 0x80
447 #define PCI_ID_REG 0x00 447 #define PCI_ID_REG 0x00
448 #define PCI_CMD_STAT_REG 0x04 448 #define PCI_CMD_STAT_REG 0x04
449 #define PCI_CLASS_REG 0x08 449 #define PCI_CLASS_REG 0x08