diff options
author | 1997-11-06 03:38:44 +0000 | |
---|---|---|
committer | 1997-11-06 03:38:44 +0000 | |
commit | fe2f162191b67b7bf95fac820a556205b60af2ba (patch) | |
tree | c3c5a17efebc410ca3bc3d2ceede6ef4ff00c9ae | |
parent | We need an MI vga driver. The alpha one was most MI. Not entirely yet though. (diff) | |
download | wireguard-openbsd-fe2f162191b67b7bf95fac820a556205b60af2ba.tar.xz wireguard-openbsd-fe2f162191b67b7bf95fac820a556205b60af2ba.zip |
temp <machine_btop() fix
-rw-r--r-- | sys/dev/ic/vga.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/vga.c b/sys/dev/ic/vga.c index b9bc16a5353..19c47e50c65 100644 --- a/sys/dev/ic/vga.c +++ b/sys/dev/ic/vga.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vga.c,v 1.9 1997/11/06 02:53:41 niklas Exp $ */ +/* $OpenBSD: vga.c,v 1.10 1997/11/06 03:38:44 mickey Exp $ */ /* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */ /* @@ -248,7 +248,11 @@ vgammap(v, offset, prot) return (-1); port = (u_int32_t *)(h << 5); +#ifdef alpha return alpha_btop(port); /* XXX */ +#elif defined(i386) + return i386_btop(port); +#endif } /* |