vga.c (178193) | vga.c (197025) |
---|---|
1/*- 2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 3 * Copyright (c) 1992-1998 S�ren Schmidt 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 15 unchanged lines hidden (view full) --- 24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 */ 30 31#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 3 * Copyright (c) 1992-1998 S�ren Schmidt 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 15 unchanged lines hidden (view full) --- 24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/dev/fb/vga.c 178193 2008-04-14 08:00:00Z phk $"); | 32__FBSDID("$FreeBSD: head/sys/dev/fb/vga.c 197025 2009-09-09 09:50:31Z delphij $"); |
33 34#include "opt_vga.h" 35#include "opt_fb.h" 36#ifndef FB_DEBUG 37#define FB_DEBUG 0 38#endif 39#include "opt_syscons.h" /* should be removed in the future, XXX */ 40 --- 110 unchanged lines hidden (view full) --- 151} 152 153#endif /* FB_INSTALL_CDEV */ 154 155/* LOW-LEVEL */ 156 157#include <isa/rtc.h> 158#ifdef __i386__ | 33 34#include "opt_vga.h" 35#include "opt_fb.h" 36#ifndef FB_DEBUG 37#define FB_DEBUG 0 38#endif 39#include "opt_syscons.h" /* should be removed in the future, XXX */ 40 --- 110 unchanged lines hidden (view full) --- 151} 152 153#endif /* FB_INSTALL_CDEV */ 154 155/* LOW-LEVEL */ 156 157#include <isa/rtc.h> 158#ifdef __i386__ |
159#include <machine/pc/vesa.h> | 159#include <dev/fb/vesa.h> |
160#endif 161 162#define probe_done(adp) ((adp)->va_flags & V_ADP_PROBED) 163#define init_done(adp) ((adp)->va_flags & V_ADP_INITIALIZED) 164#define config_done(adp) ((adp)->va_flags & V_ADP_REGISTERED) 165 166/* for compatibility with old kernel options */ 167#ifdef SC_ALT_SEQACCESS --- 2901 unchanged lines hidden --- | 160#endif 161 162#define probe_done(adp) ((adp)->va_flags & V_ADP_PROBED) 163#define init_done(adp) ((adp)->va_flags & V_ADP_INITIALIZED) 164#define config_done(adp) ((adp)->va_flags & V_ADP_REGISTERED) 165 166/* for compatibility with old kernel options */ 167#ifdef SC_ALT_SEQACCESS --- 2901 unchanged lines hidden --- |