s3_pci.c (185451) | s3_pci.c (197025) |
---|---|
1/*- 2 * Copyright (c) 2000 Alcove - Nicolas Souchu <nsouch@freebsd.org> 3 * All rights reserved. 4 * 5 * Code based on Peter Horton <pdh@colonel-panic.com> patch. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 13 unchanged lines hidden (view full) --- 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 */ 28 29#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2000 Alcove - Nicolas Souchu <nsouch@freebsd.org> 3 * All rights reserved. 4 * 5 * Code based on Peter Horton <pdh@colonel-panic.com> patch. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 13 unchanged lines hidden (view full) --- 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 */ 28 29#include <sys/cdefs.h> |
30__FBSDID("$FreeBSD: head/sys/dev/fb/s3_pci.c 185451 2008-11-29 20:16:53Z kib $"); | 30__FBSDID("$FreeBSD: head/sys/dev/fb/s3_pci.c 197025 2009-09-09 09:50:31Z delphij $"); |
31 32/* Enable LFB on S3 cards that has only VESA 1.2 BIOS */ 33 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/kernel.h> 37#include <machine/bus.h> 38 --- 12 unchanged lines hidden (view full) --- 51#include <sys/fbio.h> 52 53#include <dev/pci/pcireg.h> 54#include <dev/pci/pcivar.h> 55 56#include <machine/md_var.h> 57#include <machine/vm86.h> 58#include <machine/pc/bios.h> | 31 32/* Enable LFB on S3 cards that has only VESA 1.2 BIOS */ 33 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/kernel.h> 37#include <machine/bus.h> 38 --- 12 unchanged lines hidden (view full) --- 51#include <sys/fbio.h> 52 53#include <dev/pci/pcireg.h> 54#include <dev/pci/pcivar.h> 55 56#include <machine/md_var.h> 57#include <machine/vm86.h> 58#include <machine/pc/bios.h> |
59#include <machine/pc/vesa.h> | 59#include <dev/fb/vesa.h> |
60 61#include <dev/fb/fbreg.h> 62#include <dev/fb/vgareg.h> 63 64#define S3PCI_DEBUG 1 65 66#define PCI_S3_VENDOR_ID 0x5333 67 --- 501 unchanged lines hidden --- | 60 61#include <dev/fb/fbreg.h> 62#include <dev/fb/vgareg.h> 63 64#define S3PCI_DEBUG 1 65 66#define PCI_S3_VENDOR_ID 0x5333 67 --- 501 unchanged lines hidden --- |