# HG changeset patch # User ranma # Date 1224346038 0 # Node ID eea0247a150bac73f235e775e94202f706c938ad # Parent 7efce8fe3a0475ba57841a8efb4860719c74ad4e MAX_PCI_DEVICES 64 is not enough on my system (even though lspci only shows 25 devices), upped to 256 diff -r 7efce8fe3a04 -r eea0247a150b vidix/dha.h --- a/vidix/dha.h Fri Oct 17 10:01:44 2008 +0000 +++ b/vidix/dha.h Sat Oct 18 16:07:18 2008 +0000 @@ -42,7 +42,7 @@ #define MAX_DEV_PER_VENDOR_CFG1 64 #define MAX_PCI_DEVICES_PER_BUS 32 -#define MAX_PCI_DEVICES 64 +#define MAX_PCI_DEVICES 256 #define PCI_MULTIFUNC_DEV 0x80 #define PCI_COMMAND_IO 0x1 /* Enable response to I/O space */ diff -r 7efce8fe3a04 -r eea0247a150b vidix/pci.c --- a/vidix/pci.c Fri Oct 17 10:01:44 2008 +0000 +++ b/vidix/pci.c Sat Oct 18 16:07:18 2008 +0000 @@ -441,7 +441,7 @@ #define MAX_DEV_PER_VENDOR_CFG1 64 #define MAX_PCI_DEVICES_PER_BUS 32 -#define MAX_PCI_DEVICES 64 +#define MAX_PCI_DEVICES 256 #define NF ((void (*)())NULL), { 0.0, 0, 0, NULL } #define PCI_MULTIFUNC_DEV 0x80 #define PCI_ID_REG 0x00