summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/pci/vgafb.c
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-10-26 18:57:52 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-10-26 18:57:52 +0000
commit1d2a657595f111606ebb683f9d9da32839f2948c (patch)
tree02498ff5ef6207a3a129fa8473556157dba53e66 /sys/arch/macppc/pci/vgafb.c
parent7b916e37e03ee6d7f7f3c34e002cdfaa3ba0f6f9 (diff)
Mach-macro wipeout
'do it' deraadt@
Diffstat (limited to 'sys/arch/macppc/pci/vgafb.c')
-rw-r--r--sys/arch/macppc/pci/vgafb.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/arch/macppc/pci/vgafb.c b/sys/arch/macppc/pci/vgafb.c
index d4da7a89e7b..58a66e7f030 100644
--- a/sys/arch/macppc/pci/vgafb.c
+++ b/sys/arch/macppc/pci/vgafb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafb.c,v 1.25 2005/10/08 05:47:25 drahn Exp $ */
+/* $OpenBSD: vgafb.c,v 1.26 2005/10/26 18:57:51 martin Exp $ */
/* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */
/*
@@ -366,21 +366,7 @@ vgafb_mmap(void *v, off_t offset, int prot)
h = -1;
}
-#ifdef alpha
- port = (u_int32_t *)(h << 5);
- return alpha_btop(port); /* XXX */
-#elif defined(i386)
- port = (u_int32_t *)(h << 5);
- return i386_btop(port);
-#elif defined(__powerpc__)
- {
- /* huh ??? */
return h;
- /*
- return powerpc_btop(port);
- */
- }
-#endif
}