diff options
-rw-r--r-- | sys/dev/exca/exca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/exca/exca.c b/sys/dev/exca/exca.c index 5ff0296..77e892f 100644 --- a/sys/dev/exca/exca.c +++ b/sys/dev/exca/exca.c @@ -258,7 +258,7 @@ exca_mem_map(struct exca_softc *sc, int kind, struct resource *res) } if (win >= EXCA_MEM_WINS) return (1); - if (((rman_get_start(res) >> EXCA_CARDMEM_ADDRX_SHIFT) & 0xff) != 0 && + if (((rman_get_start(res) >> EXCA_MEMREG_WIN_SHIFT) & 0xff) != 0 && (sc->flags & EXCA_HAS_MEMREG_WIN) == 0) { device_printf(sc->dev, "Does not support mapping above 24M."); return (1); |