summaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-27 03:56:01 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-27 03:56:01 +0000
commite3799eda2b35d8e52c1c33dde47c2664a22c23f9 (patch)
tree3160d2ae2c991b41feeabc8e0b5e1516442a9902 /sys/conf
parent757fb5ee59b0ab06de192f2cc51dc8d7a7744bbd (diff)
add wscons support to powerpc port.
This contains several pieces of the port MI: vgafb, on powerpc under openfirmware the vga card comes up in gfx mode. instead of resetting it to text mode, vgafb treats this as a raster display. The mechanism used may not have been the best, it's interface to wscons is as a text display, and it does the character plotting itself. font_8x16.c was stolen from the atari port for use. MD: ppcppi support stolen from alpha pms.c, pckbd.c and the rest of the support files were used nearly directly. powerpc conf.c to support wscon, vga/kbd machdep.c hack to get around a bus_space_set_region,bus_space_copy error. ofw_machdep.c some hack code on the road to supporting wscons as console.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files
index e23cb7e52a9..d4662a29dc7 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1,4 +1,4 @@
-# $OpenBSD: files,v 1.92 1998/09/27 03:38:40 downsj Exp $
+# $OpenBSD: files,v 1.93 1998/09/27 03:56:00 rahnds Exp $
# $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
@@ -102,6 +102,11 @@ file dev/ic/lpt.c lpt & (lpt_isa | lpt_pica | lpt_algor) needs-flag
device vga: wsconsdev
file dev/ic/vga.c vga & (vga_isa | vga_pci)
+# VGA framebuffer
+device vgafb: wsconsdev
+file dev/ic/vgafb.c vgafb & (vgafb_isa | vgafb_pci)
+file dev/ic/font_8x16.c vgafb & (vgafb_isa | vgafb_pci)
+
# Attributes which machine-independent bus support can be attached to.
# These should be defined here, because some of these busses can have
# devices which provide these attributes, and we'd like to avoid hairy