[MPlayer-cvslog] r27797 - in trunk/vidix: dha.h pci.c

ranma subversion at mplayerhq.hu
Sat Oct 18 18:07:19 CEST 2008


Author: ranma
Date: Sat Oct 18 18:07:18 2008
New Revision: 27797

Log:
MAX_PCI_DEVICES 64 is not enough on my system (even though lspci only shows 25 devices), upped to 256

Modified:
   trunk/vidix/dha.h
   trunk/vidix/pci.c

Modified: trunk/vidix/dha.h
==============================================================================
--- trunk/vidix/dha.h	(original)
+++ trunk/vidix/dha.h	Sat Oct 18 18:07:18 2008
@@ -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 */
 

Modified: trunk/vidix/pci.c
==============================================================================
--- trunk/vidix/pci.c	(original)
+++ trunk/vidix/pci.c	Sat Oct 18 18:07:18 2008
@@ -441,7 +441,7 @@ struct pci_config_reg {
 
 #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



More information about the MPlayer-cvslog mailing list