diff options
author | imp <imp@cvs.openbsd.org> | 2000-02-04 17:09:07 +0000 |
---|---|---|
committer | imp <imp@cvs.openbsd.org> | 2000-02-04 17:09:07 +0000 |
commit | bfacfb4e4507bd75efa96c9b8b42cffc6706cad1 (patch) | |
tree | 5292560ffa7be75794da3d4209728ffe13fb8727 | |
parent | af77e8114b2988933ae248c4ee849c03e10eca13 (diff) |
Modify ia_iosize so probe messages print correctly for the clock devices
on isa buses.
-rw-r--r-- | sys/arch/mips/mips/clock.c | 10 |
1 files changed, 8 insertions, 2 deletions
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 <sys/param.h> @@ -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; |