summaryrefslogtreecommitdiffstats
path: root/libdha/test.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/test.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/test.c')
-rw-r--r--libdha/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdha/test.c b/libdha/test.c
index 41aa466d1d..6538ab28c2 100644
--- a/libdha/test.c
+++ b/libdha/test.c
@@ -16,11 +16,11 @@ int main( void )
}
else
{
- printf(" Bus:card:func vend:dev base0 :base1 :base2 :baserom\n");
+ printf(" Bus:card:func vend:dev command base0 :base1 :base2 :baserom\n");
for(i=0;i<num_pci;i++)
- printf("%04X:%04X:%04X %04X:%04X %08X:%08X:%08X:%08X\n"
+ printf("%04X:%04X:%04X %04X:%04X %04X %08X:%08X:%08X:%08X\n"
,lst[i].bus,lst[i].card,lst[i].func
- ,lst[i].vendor,lst[i].device
+ ,lst[i].vendor,lst[i].device,lst[i].command
,lst[i].base0,lst[i].base1,lst[i].base2,lst[i].baserom);
}
return EXIT_SUCCESS;