From bfacfb4e4507bd75efa96c9b8b42cffc6706cad1 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 4 Feb 2000 17:09:07 +0000 Subject: Modify ia_iosize so probe messages print correctly for the clock devices on isa buses. --- sys/arch/mips/mips/clock.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/mips/mips/clock.c b/sys/arch/mips/mips/clock.c index 71534c5dce3..867a67c2a21 100644 --- a/sys/arch/mips/mips/clock.c +++ b/sys/arch/mips/mips/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.6 1998/10/15 21:30:15 imp Exp $ */ +/* $OpenBSD: clock.c,v 1.7 2000/02/04 17:09:06 imp Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom. * Copyright (c) 1988 University of Utah. @@ -40,7 +40,7 @@ * from: Utah Hdr: clock.c 1.18 91/01/21 * * from: @(#)clock.c 8.1 (Berkeley) 6/10/93 - * $Id: clock.c,v 1.6 1998/10/15 21:30:15 imp Exp $ + * $Id: clock.c,v 1.7 2000/02/04 17:09:06 imp Exp $ */ #include @@ -109,6 +109,9 @@ clockmatch(parent, cfdata, aux) { struct cfdata *cf; struct confargs *ca; +#ifdef arc + struct isa_attach_args *ia = aux; +#endif cf = cfdata; ca = aux; @@ -126,6 +129,9 @@ clockmatch(parent, cfdata, aux) case DESKSTATION_RPC44: case DESKSTATION_TYNE: + ia->ia_iosize = 0x10; + ia->ia_msize = 0; + /* FALLTHROUGH */ case ALGOR_P4032: case ALGOR_P5064: break; -- cgit v1.2.3