summaryrefslogtreecommitdiffstats
path: root/libdha/pci.c
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/pci.c
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/pci.c')
-rw-r--r--libdha/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdha/pci.c b/libdha/pci.c
index 7520ab8cae..adf0c5db82 100644
--- a/libdha/pci.c
+++ b/libdha/pci.c
@@ -504,6 +504,7 @@ static void identify_card(struct pci_config_reg *pcr, int idx)
pci_lst[idx].bus = pcibus ;
pci_lst[idx].card = pcicard ;
pci_lst[idx].func = pcifunc ;
+ pci_lst[idx].command = pcr->_status_command & 0xFFFF;
pci_lst[idx].vendor = pcr->_vendor ;
pci_lst[idx].device = pcr->_device ;
pci_lst[idx].base0 = 0xFFFFFFFF ;