summaryrefslogtreecommitdiff
path: root/sys/dev/stg
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/stg
parent56802c46e21d0c72a5f0550f2cb1f2a155ceb633 (diff)
Notes
Diffstat (limited to 'sys/dev/stg')
-rw-r--r--sys/dev/stg/tmc18c30_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/stg/tmc18c30_pci.c b/sys/dev/stg/tmc18c30_pci.c
index f6741ce2ec4d..8f8b24e4d0ab 100644
--- a/sys/dev/stg/tmc18c30_pci.c
+++ b/sys/dev/stg/tmc18c30_pci.c
@@ -93,7 +93,7 @@ stg_pci_attach(device_t dev)
struct stg_softc *sc = device_get_softc(dev);
int error;
- sc->port_rid = PCIR_MAPS;
+ sc->port_rid = PCIR_BAR(0);
sc->irq_rid = 0;
error = stg_alloc_resource(dev);
if (error) {