diff options
Diffstat (limited to 'sys/dev/stg/tmc18c30_pci.c')
-rw-r--r-- | sys/dev/stg/tmc18c30_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/stg/tmc18c30_pci.c b/sys/dev/stg/tmc18c30_pci.c index f6741ce..8f8b24e 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) { |