Deleted Added
full compact
s3_pci.c (111462) s3_pci.c (119277)
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

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
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 *
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

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
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 * $FreeBSD: head/sys/dev/fb/s3_pci.c 111462 2003-02-25 03:21:22Z mux $
28 * $FreeBSD: head/sys/dev/fb/s3_pci.c 119277 2003-08-22 05:54:52Z imp $
29 *
30 */
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>

--- 10 unchanged lines hidden (view full) ---

47#include <sys/module.h>
48#include <sys/bus.h>
49#include <sys/rman.h>
50#include <machine/resource.h>
51
52#include <sys/malloc.h>
53#include <sys/fbio.h>
54
29 *
30 */
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>

--- 10 unchanged lines hidden (view full) ---

47#include <sys/module.h>
48#include <sys/bus.h>
49#include <sys/rman.h>
50#include <machine/resource.h>
51
52#include <sys/malloc.h>
53#include <sys/fbio.h>
54
55#include
56#include
55#include <dev/pci/pcireg.h>
56#include <dev/pci/pcivar.h>
57
58#include <machine/md_var.h>
59#include <machine/vm86.h>
60#include <machine/pc/bios.h>
61#include <machine/pc/vesa.h>
62
63#include <dev/fb/fbreg.h>
64#include <dev/fb/vgareg.h>

--- 504 unchanged lines hidden ---
57
58#include <machine/md_var.h>
59#include <machine/vm86.h>
60#include <machine/pc/bios.h>
61#include <machine/pc/vesa.h>
62
63#include <dev/fb/fbreg.h>
64#include <dev/fb/vgareg.h>

--- 504 unchanged lines hidden ---