From: briggs Date: Mon, 17 Mar 1997 13:09:05 +0000 (+0000) Subject: Flip around Takeshi Yanagisawa's name. Add back a physaccess() call that I was a... X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3d8e6fb8745d33e9b87c9480e848188c47b8d37b;p=openbsd Flip around Takeshi Yanagisawa's name. Add back a physaccess() call that I was a bit hasty in removing. --- diff --git a/sys/arch/mac68k/dev/if_sn.c b/sys/arch/mac68k/dev/if_sn.c index c88a404bebc..61320591655 100644 --- a/sys/arch/mac68k/dev/if_sn.c +++ b/sys/arch/mac68k/dev/if_sn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sn.c,v 1.14 1997/03/17 12:20:22 briggs Exp $ */ +/* $OpenBSD: if_sn.c,v 1.15 1997/03/17 13:09:05 briggs Exp $ */ /* * National Semiconductor SONIC Driver @@ -11,7 +11,7 @@ * * Denton Gentry * and also - * Takeshi Yanagisawa + * Yanagisawa Takeshi * did the work to get this running on the Macintosh. */ @@ -127,6 +127,12 @@ snsetup(sc) sc->sc_csr = (struct sonic_reg *) sc->sc_regh; +/* + * Disable caching on the SONIC's data space. + */ + physaccess((caddr_t) sc->space, (caddr_t) kvtop((caddr_t) sc->space), + sizeof(sc->space), PG_V | PG_RW | PG_CI); + /* * Put the pup in reset mode (sninit() will fix it later) * and clear any interrupts.