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/pci.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libdha/pci.c') 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 ; -- cgit v1.2.3