diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2017-10-22 18:31:07 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2017-10-22 18:31:07 +0200 |
commit | 479a7a6ffaf61a223348e5653bd8b96c686e57c1 (patch) | |
tree | 24849c7c81d8e06c79e0e88bc9195bce6f15145f /src/openbsd_pci.c | |
parent | 64740791daf57cae85ceb6ef9689d2771c9288ee (diff) | |
parent | a167bd6474522a709ff3cbb00476c0e4309cb66f (diff) |
Merge remote-tracking branch 'origin/master' into obsd
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; |