From 6805e97fff9680cebdeb50c918566100e2d28faa Mon Sep 17 00:00:00 2001 From: kleink Date: Mon, 25 Feb 2002 00:04:49 +0000 Subject: [PATCH] Make the logic for wildcarding the I/O address actually achieve its purpose. --- sys/arch/prep/isa/mcclock_isa.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/arch/prep/isa/mcclock_isa.c b/sys/arch/prep/isa/mcclock_isa.c index a436ffcb457b..5a623a1862a4 100644 --- a/sys/arch/prep/isa/mcclock_isa.c +++ b/sys/arch/prep/isa/mcclock_isa.c @@ -1,4 +1,4 @@ -/* $NetBSD: mcclock_isa.c,v 1.3 2002/01/21 16:26:58 nonaka Exp $ */ +/* $NetBSD: mcclock_isa.c,v 1.4 2002/02/25 00:04:49 kleink Exp $ */ /* * Copyright (c) 1995, 1996 Carnegie-Mellon University. @@ -93,8 +93,7 @@ mcclock_isa_match(parent, match, aux) (ia->ia_drq[0].ir_drq != ISACF_DRQ_DEFAULT)) return (0); - if (bus_space_map(ia->ia_iot, ia->ia_io[0].ir_addr, - MCCLOCK_NPORTS, 0, &ioh)) + if (bus_space_map(ia->ia_iot, 0x70, MCCLOCK_NPORTS, 0, &ioh)) return (0); bus_space_unmap(ia->ia_iot, ioh, MCCLOCK_NPORTS);