1
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 04:44:32 +01:00

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
This commit is contained in:
ranma 2008-10-18 16:07:18 +00:00
parent fe44156133
commit a6b806a97a
2 changed files with 2 additions and 2 deletions

@ -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 */

@ -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