diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2006-06-01 03:46:02 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2006-06-01 03:46:02 +0000 |
commit | 464dc3c5e04a34501277af6e73cd1606b94719fd (patch) | |
tree | 18a72fd35d9d6678f53d51d0844ccc9bf856070f /sys/arch/arm | |
parent | 2f436d5dde08a68f790b2286f7bf17e3d789a076 (diff) |
IO addresses will always be in the right range, this check is wrong.
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/xscale/i80321_space.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/arm/xscale/i80321_space.c b/sys/arch/arm/xscale/i80321_space.c index 494c42fa614..3bedbf7e033 100644 --- a/sys/arch/arm/xscale/i80321_space.c +++ b/sys/arch/arm/xscale/i80321_space.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i80321_space.c,v 1.3 2006/05/31 05:43:49 drahn Exp $ */ +/* $OpenBSD: i80321_space.c,v 1.4 2006/06/01 03:46:01 drahn Exp $ */ /* $NetBSD: i80321_space.c,v 1.9 2005/11/24 13:08:32 yamt Exp $ */ /* @@ -286,8 +286,6 @@ i80321_io_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int flags, if (bpa >= sc->sc_ioout_xlate && bpa < (sc->sc_ioout_xlate + VERDE_OUT_XLATE_IO_WIN_SIZE)) { busbase = sc->sc_ioout_xlate; - } else if (bpa < 0x10000) { - busbase = 0; } else return (EINVAL); |