diff options
author | 1997-03-17 13:09:05 +0000 | |
---|---|---|
committer | 1997-03-17 13:09:05 +0000 | |
commit | 3d8e6fb8745d33e9b87c9480e848188c47b8d37b (patch) | |
tree | 881e89c4849075c382e637c92d6a30eddc81ad7b | |
parent | *Blush* It's Denton, not Dennis, Gentry. (diff) | |
download | wireguard-openbsd-3d8e6fb8745d33e9b87c9480e848188c47b8d37b.tar.xz wireguard-openbsd-3d8e6fb8745d33e9b87c9480e848188c47b8d37b.zip |
Flip around Takeshi Yanagisawa's name. Add back a physaccess() call that I was a bit hasty
in removing.
-rw-r--r-- | sys/arch/mac68k/dev/if_sn.c | 10 |
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. */ |