summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
authorranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-18 16:07:18 +0000
committerranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-18 16:07:18 +0000
commita6b806a97a9738836a46af5370b405cf57c2a239 (patch)
treeba14b8c3312ccdb007974d06cd970c7fa16f181e /vidix
parentfe44156133130e00e2843ccc01c6d005cea07c1d (diff)
downloadmpv-a6b806a97a9738836a46af5370b405cf57c2a239.tar.bz2
mpv-a6b806a97a9738836a46af5370b405cf57c2a239.tar.xz
MAX_PCI_DEVICES 64 is not enough on my system (even though lspci only shows 25 devices), upped to 256
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27797 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r--vidix/dha.h2
-rw-r--r--vidix/pci.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/vidix/dha.h b/vidix/dha.h
index eb2a269c46..501215172d 100644
--- a/vidix/dha.h
+++ b/vidix/dha.h
@@ -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 --git a/vidix/pci.c b/vidix/pci.c
index 1006b14a80..6576996362 100644
--- a/vidix/pci.c
+++ b/vidix/pci.c
@@ -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