diff options
Diffstat (limited to 'src/openbsd_pci.c')
-rw-r--r-- | src/openbsd_pci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openbsd_pci.c b/src/openbsd_pci.c index 15cd900..0412726 100644 --- a/src/openbsd_pci.c +++ b/src/openbsd_pci.c @@ -668,6 +668,10 @@ pci_system_openbsd_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; |