summaryrefslogtreecommitdiff
path: root/sys/dev/pci/files.pci
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/dev/pci/files.pci
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/dev/pci/files.pci')
-rw-r--r--sys/dev/pci/files.pci6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/files.pci b/sys/dev/pci/files.pci
index 2b7f5a524d4..f4ad2f30d94 100644
--- a/sys/dev/pci/files.pci
+++ b/sys/dev/pci/files.pci
@@ -1,4 +1,4 @@
-# $OpenBSD: files.pci,v 1.23 1998/09/27 03:38:09 downsj Exp $
+# $OpenBSD: files.pci,v 1.24 1998/09/27 03:55:59 rahnds Exp $
# $NetBSD: files.pci,v 1.20 1996/09/24 17:47:15 christos Exp $
#
# Config.new file and device description for machine-independent PCI code.
@@ -14,6 +14,10 @@ file dev/pci/pci_subr.c pci
attach vga at pci with vga_pci
file dev/pci/vga_pci.c vga_pci needs-flag
+# Generic VGA Framebuffer version
+attach vgafb at pci with vgafb_pci
+file dev/pci/vgafb_pci.c vgafb_pci needs-flag
+
# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers
# device declaration in sys/conf/files
attach ahc at pci with ahc_pci