summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authornsouch <nsouch@FreeBSD.org>2001-01-05 16:53:10 +0000
committernsouch <nsouch@FreeBSD.org>2001-01-05 16:53:10 +0000
commit729a83c25cb4d059eb77b954f6990dfb1d3e3dde (patch)
tree9e1bffb4f5e9b07fd7eddc0ef8686963e65e5f1f /sys/modules
parentefd843c6c68b3ecfc0c5616a7bd10d42f8b34671 (diff)
downloadFreeBSD-src-729a83c25cb4d059eb77b954f6990dfb1d3e3dde.zip
FreeBSD-src-729a83c25cb4d059eb77b954f6990dfb1d3e3dde.tar.gz
Add the VESA S3 linear framebuffer driver. It works on top of VESA by replacing
the video switch by another. Exactly as VESA does on top of VGA. It adds linear framebuffer to S3 VESA 1.2 cards. Obtained from: The original S3 ISA code comes from Peter Horton <pdh@colonel-panic.com>
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/s3/Makefile9
2 files changed, 10 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index a10b490..a0e9a70 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -19,7 +19,7 @@ SUBDIR= 3dfx accf_data accf_http agp aha amr an aue \
# XXX some of these can move to the general case when de-i386'ed
.if ${MACHINE_ARCH} == "i386"
SUBDIR+=aac aic asr bktr coff el fpu gnufpu ibcs2 linprocfs mly pecoff ray \
- splash streams svr4 vesa wi
+ s3 splash streams svr4 vesa wi
.endif
.if ${MACHINE} == "pc98"
diff --git a/sys/modules/s3/Makefile b/sys/modules/s3/Makefile
new file mode 100644
index 0000000..ac42a42
--- /dev/null
+++ b/sys/modules/s3/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/fb
+KMOD = s3
+SRCS = device_if.h bus_if.h isa_if.h pci_if.h
+SRCS += s3pci.c
+KMODDEPS = vesa
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud