summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-02-28 22:32:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-02-28 22:32:51 +0000
commit4ccce68d77f7cc1e920b529cc6b1904a5fab6297 (patch)
tree28709b46ea6e37ff5aed10426e19a2eccf5592f5 /sys/arch/loongson/conf
parentf93640471000b8e53078d9db924d309145496368 (diff)
Minimal frame buffer driver for the SiS 315 found on Lemote Fuloong systems.
Currently unable to change video modes or provide any form of acceleration, so you are stuck in a 640x400x8 mode, but at least people scared of serial consoles will get a chance to use their Fuloongs now. Tested by otto@ (early developments) and jasper@ (final version)
Diffstat (limited to 'sys/arch/loongson/conf')
-rw-r--r--sys/arch/loongson/conf/GENERIC5
-rw-r--r--sys/arch/loongson/conf/RAMDISK6
-rw-r--r--sys/arch/loongson/conf/files.loongson7
3 files changed, 14 insertions, 4 deletions
diff --git a/sys/arch/loongson/conf/GENERIC b/sys/arch/loongson/conf/GENERIC
index a1eb201d101..282764d441b 100644
--- a/sys/arch/loongson/conf/GENERIC
+++ b/sys/arch/loongson/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.16 2010/02/28 08:30:27 otto Exp $
+# $OpenBSD: GENERIC,v 1.17 2010/02/28 22:32:50 miod Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -49,7 +49,10 @@ ykbec0 at isa? port 0x381 # Yeeloong only
com0 at isa? port 0x2f8 irq 3 # Fuloong 2F only
pciide* at pci?
wd* at pciide? flags 0x0000
+sisfb* at pci? # Fuloong 2F only
+wsdisplay* at sisfb?
smfb* at pci? # Yeeloong only
+wsdisplay* at smfb?
auglx* at pci?
audio* at auglx?
diff --git a/sys/arch/loongson/conf/RAMDISK b/sys/arch/loongson/conf/RAMDISK
index 4645e275491..d0d834b9be9 100644
--- a/sys/arch/loongson/conf/RAMDISK
+++ b/sys/arch/loongson/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.9 2010/02/26 14:53:11 miod Exp $
+# $OpenBSD: RAMDISK,v 1.10 2010/02/28 22:32:50 miod Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -59,7 +59,10 @@ wsmouse* at pmsi? mux 0 # Yeeloong only
com0 at isa? port 0x2f8 irq 3 # Fuloong 2F only
pciide* at pci?
wd* at pciide? flags 0x0000
+sisfb* at pci? # Fuloong 2F only
+wsdisplay* at sisfb?
smfb* at pci? # Yeeloong only
+wsdisplay* at smfb?
# Gdium Liberty specific devices
voyager* at pci?
@@ -70,7 +73,6 @@ iic0 at gdiumiic0
mfokclock0 at iic0 # M41T8x todclock
ohci* at voyager?
smfb* at voyager?
-
wsdisplay* at smfb?
# USB Controllers
diff --git a/sys/arch/loongson/conf/files.loongson b/sys/arch/loongson/conf/files.loongson
index 2536d626614..30313fe333b 100644
--- a/sys/arch/loongson/conf/files.loongson
+++ b/sys/arch/loongson/conf/files.loongson
@@ -1,4 +1,4 @@
-# $OpenBSD: files.loongson,v 1.8 2010/02/28 08:30:27 otto Exp $
+# $OpenBSD: files.loongson,v 1.9 2010/02/28 22:32:50 miod Exp $
# Standard stanzas config(8) can't run without
maxpartitions 16
@@ -108,6 +108,11 @@ attach smfb at pci with smfb_pci
attach smfb at voyager with smfb_voyager
file arch/loongson/dev/smfb.c smfb needs-flag
+# SIS 315 Pro frame buffer
+device sisfb: wsemuldisplaydev, rasops8, rasops15, rasops16, rasops32
+attach sisfb at pci
+file arch/loongson/dev/sisfb.c sisfb needs-flag
+
device apm
attach apm at mainbus
file arch/loongson/dev/apm.c apm needs-flag