diff options
author | 2000-02-04 17:09:06 +0000 | |
---|---|---|
committer | 2000-02-04 17:09:06 +0000 | |
commit | 2ba6d027b597ab8cdca509b45323439fba2d3eba (patch) | |
tree | aa25cd3bdc606cfa71bf57db0b262469cc38838c | |
parent | Allow spaces in CC (diff) | |
download | wireguard-openbsd-2ba6d027b597ab8cdca509b45323439fba2d3eba.tar.xz wireguard-openbsd-2ba6d027b597ab8cdca509b45323439fba2d3eba.zip |
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; |