summaryrefslogtreecommitdiff
path: root/sys/dev/ic/vga.c
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-28 01:07:35 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-28 01:07:35 +0000
commit749bfbcb4ceae88a68c87f581f192fe4a5537ce2 (patch)
tree6c9ac1f23a7615e40b3febc33575fe98524e9eae /sys/dev/ic/vga.c
parent7806c92fdb33458c3d21ae7d11a4d10e7e3323f6 (diff)
support powerpc port (needs ifdef to use powerpc_btop()), is there
a machine independant function that calls this md function??
Diffstat (limited to 'sys/dev/ic/vga.c')
-rw-r--r--sys/dev/ic/vga.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/vga.c b/sys/dev/ic/vga.c
index e29809a70bf..d4212386637 100644
--- a/sys/dev/ic/vga.c
+++ b/sys/dev/ic/vga.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vga.c,v 1.11 1997/11/06 12:26:54 niklas Exp $ */
+/* $OpenBSD: vga.c,v 1.12 1998/09/28 01:07:34 rahnds Exp $ */
/* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */
/*
@@ -252,6 +252,8 @@ vgammap(v, offset, prot)
return alpha_btop(port); /* XXX */
#elif defined(i386)
return i386_btop(port);
+#elif defined(powerpc)
+ return powerpc_btop(port);
#endif
}