summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-03-17 13:09:06 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-03-17 13:09:06 +0000
commit571614bc16b2beaf7e58d404869dd2f6e3cef35f (patch)
tree9e5f63fbc9fa904b62bd45bc060f2be6de43ead9 /sys/arch/mac68k/dev
parent68e2f828891897b0d7e926a507c514c7e8c32168 (diff)
Flip around Takeshi Yanagisawa's name. Add back a physaccess() call that I was a bit hasty
in removing.
Diffstat (limited to 'sys/arch/mac68k/dev')
-rw-r--r--sys/arch/mac68k/dev/if_sn.c10
1 files changed, 8 insertions, 2 deletions
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 <denny1@home.com>
* and also
- * Takeshi Yanagisawa <yanagisw@aa.ap.titech.ac.jp>
+ * Yanagisawa Takeshi <yanagisw@aa.ap.titech.ac.jp>
* did the work to get this running on the Macintosh.
*/
@@ -128,6 +128,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.
*/