aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vx
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2003-09-02 17:30:40 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2003-09-02 17:30:40 +0000
commite27951b29c565206b57c8cdbc2ac344485c2f4f5 (patch)
tree1a7743437055722d93fce73b145dde1eb1915e7f /sys/dev/vx
parent56802c46e21d0c72a5f0550f2cb1f2a155ceb633 (diff)
Notes
Diffstat (limited to 'sys/dev/vx')
-rw-r--r--sys/dev/vx/if_vx_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c
index 87d525509e84..49c23432d731 100644
--- a/sys/dev/vx/if_vx_pci.c
+++ b/sys/dev/vx/if_vx_pci.c
@@ -129,7 +129,7 @@ vx_pci_attach(
sc = device_get_softc(dev);
- rid = PCIR_MAPS;
+ rid = PCIR_BAR(0);
sc->vx_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
0, ~0, 1, RF_ACTIVE);