summaryrefslogtreecommitdiffstats
path: root/libdha/libdha.h
diff options
context:
space:
mode:
authorranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-31 00:14:36 +0000
committerranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-31 00:14:36 +0000
commite25e1515c08938cf51889390a232cd661eb8019c (patch)
tree3828d17c0a472ea8450bc64f5226e32e13671d17 /libdha/libdha.h
parent3518a6dff2df60847fffbd8d0849d443de449a3c (diff)
downloadmpv-e25e1515c08938cf51889390a232cd661eb8019c.tar.bz2
mpv-e25e1515c08938cf51889390a232cd661eb8019c.tar.xz
Ignore disabled cards. (Jon Burgess <jburgess@uklinux.net>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9768 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha/libdha.h')
-rw-r--r--libdha/libdha.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdha/libdha.h b/libdha/libdha.h
index 54afad8b8c..3135b34b76 100644
--- a/libdha/libdha.h
+++ b/libdha/libdha.h
@@ -24,10 +24,12 @@ extern "C" {
#define MAX_PCI_DEVICES_PER_BUS 32
#define MAX_PCI_DEVICES 64
#define PCI_MULTIFUNC_DEV 0x80
+#define PCI_COMMAND_IO 0x1 /* Enable response to I/O space */
typedef struct pciinfo_s
{
int bus,card,func; /* PCI/AGP bus:card:func */
+ unsigned short command; /* Device control register */
unsigned short vendor,device; /* Card vendor+device ID */
unsigned base0,base1,base2,baserom; /* Memory and I/O base addresses */
// unsigned base0_limit, base1_limit, base2_limit, baserom_limit;