diff options
author | Eric Anholt <eric@anholt.net> | 2007-08-03 10:46:55 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-08-03 10:46:55 -0700 |
commit | ae4aed2821161028dabd8381273f3803a24340ad (patch) | |
tree | c1ac070d373ddd7fe92d8d298cbb29365c4708bc | |
parent | 14e62c77bd1ae6ef1d4048df2da96eeff8f7538f (diff) |
FreeBSD: Fill in the subdevice ID.
-rw-r--r-- | src/freebsd_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/freebsd_pci.c b/src/freebsd_pci.c index 751298d..e931884 100644 --- 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; } |