diff options
| author | Warner Losh <imp@FreeBSD.org> | 2003-09-24 22:13:25 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2003-09-24 22:13:25 +0000 |
| commit | 26824d8c47b0f24204a2371113ff44333b51d29f (patch) | |
| tree | 2f2e8228c3344daeac244c42b97547583c1bfc05 | |
| parent | 85cc199400bd991c149b218ec7d5c7b3c4c9b2d1 (diff) | |
Notes
| -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 5ff029680f0f..77e892f589d1 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); |
