diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-11-06 03:38:45 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-11-06 03:38:45 +0000 |
commit | fec1be888534eb37405f6bf7a195f28670e1392b (patch) | |
tree | 971e51f113751f78f17eda7cfc8248c8bb06e1f4 /sys/dev | |
parent | b872f9fa4575b98787eaced8af9fca0c99928134 (diff) |
temp <machine_btop() fix
Diffstat (limited to 'sys/dev')
-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 } /* |