diff options
author | delphij <delphij@FreeBSD.org> | 2009-09-21 07:05:48 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-09-21 07:05:48 +0000 |
commit | 928fee6a3a2fb45d778764e774d471b8b29574db (patch) | |
tree | 303802c58e91fe139354a9339e1b0ffcf6d415ce /sys | |
parent | 3efb1881d99b44f76a42605a56ddd591651850c1 (diff) | |
download | FreeBSD-src-928fee6a3a2fb45d778764e774d471b8b29574db.zip FreeBSD-src-928fee6a3a2fb45d778764e774d471b8b29574db.tar.gz |
Enable s3pci on amd64 which works on top of VESA, and allow
static building it into kernel on i386 and amd64.
Submitted by: swell.k at gmail.com
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/conf/NOTES | 3 | ||||
-rw-r--r-- | sys/conf/files.amd64 | 1 | ||||
-rw-r--r-- | sys/conf/files.i386 | 1 | ||||
-rw-r--r-- | sys/dev/fb/s3_pci.c | 1 | ||||
-rw-r--r-- | sys/i386/conf/NOTES | 3 | ||||
-rw-r--r-- | sys/modules/Makefile | 1 |
6 files changed, 9 insertions, 1 deletions
diff --git a/sys/amd64/conf/NOTES b/sys/amd64/conf/NOTES index ada5e32..c911593 100644 --- a/sys/amd64/conf/NOTES +++ b/sys/amd64/conf/NOTES @@ -219,6 +219,9 @@ options VGA_WIDTH90 # support 90 column modes # Debugging. options VGA_DEBUG +# Linear framebuffer driver for S3 VESA 1.2 cards. Works on top of VESA. +device s3pci + # 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create # the /dev/3dfx0 device to work with glide implementations. This should get # linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64 index 01f5355..872ee4d 100644 --- a/sys/conf/files.amd64 +++ b/sys/conf/files.amd64 @@ -170,6 +170,7 @@ dev/ed/if_ed_wd80x3.c optional ed isa dev/ed/if_ed_hpp.c optional ed isa ed_hpp dev/ed/if_ed_sic.c optional ed isa ed_sic dev/fb/fb.c optional fb | vga +dev/fb/s3_pci.c optional s3pci dev/fb/vesa.c optional vga vesa x86emu dev/fb/vga.c optional vga dev/ichwd/ichwd.c optional ichwd diff --git a/sys/conf/files.i386 b/sys/conf/files.i386 index 0a16cee..ba8d913 100644 --- a/sys/conf/files.i386 +++ b/sys/conf/files.i386 @@ -157,6 +157,7 @@ dev/ed/if_ed_wd80x3.c optional ed isa dev/ed/if_ed_hpp.c optional ed isa ed_hpp dev/ed/if_ed_sic.c optional ed isa ed_sic dev/fb/fb.c optional fb | vga +dev/fb/s3_pci.c optional s3pci dev/fb/vesa.c optional vga vesa x86emu dev/fb/vga.c optional vga dev/fdc/fdc.c optional fdc diff --git a/sys/dev/fb/s3_pci.c b/sys/dev/fb/s3_pci.c index 45facc9..cfddf30 100644 --- a/sys/dev/fb/s3_pci.c +++ b/sys/dev/fb/s3_pci.c @@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$"); #include <dev/pci/pcivar.h> #include <machine/md_var.h> -#include <machine/vm86.h> #include <machine/pc/bios.h> #include <dev/fb/vesa.h> diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 876224e..001b341 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -444,6 +444,9 @@ options VGA_WIDTH90 # support 90 column modes # Debugging. options VGA_DEBUG +# Linear framebuffer driver for S3 VESA 1.2 cards. Works on top of VESA. +device s3pci + # 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create # the /dev/3dfx0 device to work with glide implementations. This should get # linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 8f37b61..c07dea8 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -528,6 +528,7 @@ _padlock= padlock .endif _pccard= pccard _rdma= rdma +_s3= s3 _safe= safe _scsi_low= scsi_low _smbfs= smbfs |