diff options
Diffstat (limited to 'src/netbsd_pci.c')
-rw-r--r-- | src/netbsd_pci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/netbsd_pci.c b/src/netbsd_pci.c index f972f94..1f3bcea 100644 --- a/src/netbsd_pci.c +++ b/src/netbsd_pci.c @@ -959,6 +959,10 @@ pci_system_netbsd_create(void) continue; device->base.domain = domain; + if (domain > 0xffff) + device->base.domain_16 = 0xffff; + else + device->base.domain_16 = domain & 0xffff; device->base.bus = bus; device->base.dev = dev; device->base.func = func; |