summaryrefslogtreecommitdiffstats
path: root/sys/dev/hea/hea_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hea/hea_pci.c')
-rw-r--r--sys/dev/hea/hea_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hea/hea_pci.c b/sys/dev/hea/hea_pci.c
index 093845b..7965f8a 100644
--- a/sys/dev/hea/hea_pci.c
+++ b/sys/dev/hea/hea_pci.c
@@ -157,7 +157,7 @@ hea_pci_attach (dev)
pci_enable_busmaster(dev);
- sc->mem_rid = PCIR_MAPS;
+ sc->mem_rid = PCIR_BAR(0);
sc->mem_type = SYS_RES_MEMORY;
sc->irq_rid = 0;
OpenPOWER on IntegriCloud