From e25e1515c08938cf51889390a232cd661eb8019c Mon Sep 17 00:00:00 2001 From: ranma Date: Mon, 31 Mar 2003 00:14:36 +0000 Subject: Ignore disabled cards. (Jon Burgess ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9768 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libdha/libdha.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libdha/libdha.h') 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; -- cgit v1.2.3