projects
/
platform
/
upstream
/
libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14e62c7
)
FreeBSD: Fill in the subdevice ID.
author
Eric Anholt
<eric@anholt.net>
Fri, 3 Aug 2007 17:46:55 +0000
(10:46 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 3 Aug 2007 17:46:55 +0000
(10:46 -0700)
src/freebsd_pci.c
patch
|
blob
|
history
diff --git
a/src/freebsd_pci.c
b/src/freebsd_pci.c
index
751298d
..
e931884
100644
(file)
--- a/
src/freebsd_pci.c
+++ b/
src/freebsd_pci.c
@@
-401,6
+401,7
@@
pci_system_freebsd_create( void )
pci_sys->devices[ i ].base.vendor_id = p->pc_vendor;
pci_sys->devices[ i ].base.device_id = p->pc_device;
pci_sys->devices[ i ].base.subvendor_id = p->pc_subvendor;
+ pci_sys->devices[ i ].base.subdevice_id = p->pc_subdevice;
pci_sys->devices[ i ].base.device_class = (uint32_t)p->pc_class << 16 |
(uint32_t)p->pc_subclass << 8 | (uint32_t)p->pc_progif;
}