vesa.c (54258) | vesa.c (56836) |
---|---|
1/*- 2 * Copyright (c) 1998 Kazutaka YOKOTA and Michael Smith 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1998 Kazutaka YOKOTA and Michael Smith 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/i386/isa/vesa.c 54258 1999-12-07 11:23:58Z yokota $ | 26 * $FreeBSD: head/sys/i386/isa/vesa.c 56836 2000-01-29 15:08:56Z peter $ |
27 */ 28 | 27 */ 28 |
29#include "vga.h" | |
30#include "opt_vga.h" | 29#include "opt_vga.h" |
31#include "opt_vesa.h" 32#include "opt_fb.h" | |
33 | 30 |
34#ifdef VGA_NO_MODE_CHANGE 35#undef VESA 36#endif | 31#ifndef VGA_NO_MODE_CHANGE |
37 | 32 |
38#if (NVGA > 0 && defined(VESA)) || defined(KLD_MODULE) 39 | |
40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/kernel.h> 43#include <sys/module.h> 44#include <sys/malloc.h> 45#include <sys/fbio.h> 46 47#include <vm/vm.h> --- 1589 unchanged lines hidden (view full) --- 1637static moduledata_t vesa_mod = { 1638 "vesa", 1639 vesa_mod_event, 1640 NULL, 1641}; 1642 1643DECLARE_MODULE(vesa, vesa_mod, SI_SUB_DRIVERS, SI_ORDER_MIDDLE); 1644 | 33#include <sys/param.h> 34#include <sys/systm.h> 35#include <sys/kernel.h> 36#include <sys/module.h> 37#include <sys/malloc.h> 38#include <sys/fbio.h> 39 40#include <vm/vm.h> --- 1589 unchanged lines hidden (view full) --- 1630static moduledata_t vesa_mod = { 1631 "vesa", 1632 vesa_mod_event, 1633 NULL, 1634}; 1635 1636DECLARE_MODULE(vesa, vesa_mod, SI_SUB_DRIVERS, SI_ORDER_MIDDLE); 1637 |
1645#endif /* (NVGA > 0 && VESA) || KLD_MODULE */ | 1638#endif /* VGA_NO_MODE_CHANGE */ |