head	1.17;
access;
symbols
	RELENG_8_4:1.17.0.2
	RELENG_9_1_0_RELEASE:1.16.2.1.4.2
	RELENG_9_1:1.16.2.1.0.4
	RELENG_9_1_BP:1.16.2.1
	RELENG_8_3_0_RELEASE:1.14.36.2.6.1
	RELENG_8_3:1.14.36.2.0.6
	RELENG_8_3_BP:1.14.36.2
	RELENG_9_0_0_RELEASE:1.16.2.1.2.1
	RELENG_9_0:1.16.2.1.0.2
	RELENG_9_0_BP:1.16.2.1
	RELENG_9:1.16.0.2
	RELENG_9_BP:1.16
	RELENG_7_4_0_RELEASE:1.14.40.1
	RELENG_8_2_0_RELEASE:1.14.36.2.4.1
	RELENG_7_4:1.14.0.40
	RELENG_7_4_BP:1.14
	RELENG_8_2:1.14.36.2.0.4
	RELENG_8_2_BP:1.14.36.2
	RELENG_8_1_0_RELEASE:1.14.36.2.2.1
	RELENG_8_1:1.14.36.2.0.2
	RELENG_8_1_BP:1.14.36.2
	RELENG_7_3_0_RELEASE:1.14.38.1
	RELENG_7_3:1.14.0.38
	RELENG_7_3_BP:1.14
	RELENG_8_0_0_RELEASE:1.14.36.1.2.1
	RELENG_8_0:1.14.36.1.0.2
	RELENG_8_0_BP:1.14.36.1
	RELENG_8:1.14.0.36
	RELENG_8_BP:1.14
	RELENG_7_2_0_RELEASE:1.14.34.1
	RELENG_7_2:1.14.0.34
	RELENG_7_2_BP:1.14
	RELENG_7_1_0_RELEASE:1.14.32.1
	RELENG_6_4_0_RELEASE:1.14.30.1
	RELENG_7_1:1.14.0.32
	RELENG_7_1_BP:1.14
	RELENG_6_4:1.14.0.30
	RELENG_6_4_BP:1.14
	RELENG_7_0_0_RELEASE:1.14
	RELENG_6_3_0_RELEASE:1.14
	RELENG_7_0:1.14.0.28
	RELENG_7_0_BP:1.14
	RELENG_6_3:1.14.0.26
	RELENG_6_3_BP:1.14
	RELENG_7:1.14.0.24
	RELENG_7_BP:1.14
	RELENG_6_2_0_RELEASE:1.14
	RELENG_6_2:1.14.0.22
	RELENG_6_2_BP:1.14
	RELENG_5_5_0_RELEASE:1.14
	RELENG_5_5:1.14.0.20
	RELENG_5_5_BP:1.14
	RELENG_6_1_0_RELEASE:1.14
	RELENG_6_1:1.14.0.18
	RELENG_6_1_BP:1.14
	RELENG_6_0_0_RELEASE:1.14
	RELENG_6_0:1.14.0.16
	RELENG_6_0_BP:1.14
	RELENG_6:1.14.0.14
	RELENG_6_BP:1.14
	RELENG_5_4_0_RELEASE:1.14
	RELENG_5_4:1.14.0.12
	RELENG_5_4_BP:1.14
	RELENG_4_11_0_RELEASE:1.9
	RELENG_4_11:1.9.0.20
	RELENG_4_11_BP:1.9
	RELENG_5_3_0_RELEASE:1.14
	RELENG_5_3:1.14.0.10
	RELENG_5_3_BP:1.14
	RELENG_5:1.14.0.8
	RELENG_5_BP:1.14
	RELENG_4_10_0_RELEASE:1.9
	RELENG_4_10:1.9.0.18
	RELENG_4_10_BP:1.9
	RELENG_5_2_1_RELEASE:1.14
	RELENG_5_2_0_RELEASE:1.14
	RELENG_5_2:1.14.0.6
	RELENG_5_2_BP:1.14
	RELENG_4_9_0_RELEASE:1.9
	RELENG_4_9:1.9.0.16
	RELENG_4_9_BP:1.9
	RELENG_5_1_0_RELEASE:1.14
	RELENG_5_1:1.14.0.4
	RELENG_5_1_BP:1.14
	RELENG_4_8_0_RELEASE:1.9
	RELENG_4_8:1.9.0.14
	RELENG_4_8_BP:1.9
	RELENG_5_0_0_RELEASE:1.14
	RELENG_5_0:1.14.0.2
	RELENG_5_0_BP:1.14
	RELENG_4_7_0_RELEASE:1.9
	RELENG_4_7:1.9.0.12
	RELENG_4_7_BP:1.9
	RELENG_4_6_2_RELEASE:1.9
	RELENG_4_6_1_RELEASE:1.9
	RELENG_4_6_0_RELEASE:1.9
	RELENG_4_6:1.9.0.10
	RELENG_4_6_BP:1.9
	RELENG_4_5_0_RELEASE:1.9
	RELENG_4_5:1.9.0.8
	RELENG_4_5_BP:1.9
	RELENG_4_4_0_RELEASE:1.9
	RELENG_4_4:1.9.0.6
	RELENG_4_4_BP:1.9
	KSE_MILESTONE_2:1.13
	KSE_PRE_MILESTONE_2:1.13
	RELENG_4_3_0_RELEASE:1.9
	RELENG_4_3:1.9.0.4
	RELENG_4_3_BP:1.9
	RELENG_4_2_0_RELEASE:1.9
	RELENG_4_1_1_RELEASE:1.9
	PRE_SMPNG:1.11
	RELENG_4_1_0_RELEASE:1.9
	RELENG_3_5_0_RELEASE:1.5.2.1
	RELENG_4_0_0_RELEASE:1.9
	RELENG_4:1.9.0.2
	RELENG_4_BP:1.9
	RELENG_3_4_0_RELEASE:1.5.2.1
	RELENG_3_3_0_RELEASE:1.5.2.1
	RELENG_3_2_PAO:1.5.0.4
	RELENG_3_2_PAO_BP:1.5
	RELENG_3_2_0_RELEASE:1.5
	POST_VFS_BIO_NFS_PATCH:1.5
	PRE_VFS_BIO_NFS_PATCH:1.5
	POST_SMP_VMSHARE:1.5
	PRE_SMP_VMSHARE:1.5
	POST_NEWBUS:1.5
	PRE_NEWBUS:1.5
	RELENG_3_1_0_RELEASE:1.5
	RELENG_3:1.5.0.2
	RELENG_3_BP:1.5
	RELENG_3_0_0_RELEASE:1.3;
locks; strict;
comment	@# @;


1.17
date	2012.11.17.01.53.02;	author svnexp;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	2009.10.19.20.58.10;	author jkim;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	2009.09.09.09.50.31;	author delphij;	state Exp;
branches;
next	1.14;

1.14
date	2002.01.11.15.49.01;	author ru;	state Exp;
branches
	1.14.14.1
	1.14.24.1
	1.14.30.1
	1.14.32.1
	1.14.34.1
	1.14.36.1
	1.14.38.1
	1.14.40.1;
next	1.13;

1.13
date	2001.01.06.14.00.39;	author obrien;	state Exp;
branches;
next	1.12;

1.12
date	2000.10.06.01.43.59;	author jhb;	state Exp;
branches;
next	1.11;

1.11
date	2000.05.27.01.14.29;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	2000.05.04.12.08.46;	author peter;	state Exp;
branches;
next	1.9;

1.9
date	2000.01.29.15.08.42;	author peter;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	99.11.28.18.53.39;	author bde;	state Exp;
branches;
next	1.7;

1.7
date	99.08.28.00.48.01;	author peter;	state Exp;
branches;
next	1.6;

1.6
date	99.06.01.18.20.36;	author jlemon;	state Exp;
branches;
next	1.5;

1.5
date	99.01.11.03.18.56;	author yokota;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	98.12.30.11.21.07;	author yokota;	state Exp;
branches;
next	1.3;

1.3
date	98.10.16.04.30.51;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	98.09.15.20.14.11;	author sos;	state Exp;
branches;
next	1.1;

1.1
date	98.09.15.20.09.18;	author sos;	state Exp;
branches;
next	;

1.17.2.1
date	2012.11.17.01.53.02;	author svnexp;	state dead;
branches;
next	1.17.2.2;

1.17.2.2
date	2013.03.28.13.05.25;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.16.2.1.2.1
	1.16.2.1.4.1;
next	1.16.2.2;

1.16.2.2
date	2012.11.17.11.37.19;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.16.2.1.2.2;

1.16.2.1.2.2
date	2012.11.17.08.37.15;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.16.2.1.4.2;

1.16.2.1.4.2
date	2012.11.17.08.48.06;	author svnexp;	state Exp;
branches;
next	;

1.14.14.1
date	2012.11.17.07.44.28;	author svnexp;	state Exp;
branches;
next	;

1.14.24.1
date	2012.11.17.08.06.59;	author svnexp;	state Exp;
branches;
next	;

1.14.30.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.14.32.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.14.34.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.14.36.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.14.36.1.2.1;
next	1.14.36.2;

1.14.36.2
date	2010.03.02.01.56.55;	author delphij;	state Exp;
branches
	1.14.36.2.2.1
	1.14.36.2.4.1
	1.14.36.2.6.1;
next	1.14.36.3;

1.14.36.3
date	2012.11.17.10.36.59;	author svnexp;	state Exp;
branches;
next	;

1.14.36.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.14.36.2.2.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.14.36.2.4.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.14.36.2.6.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.14.36.2.6.2;

1.14.36.2.6.2
date	2012.11.17.08.25.34;	author svnexp;	state Exp;
branches;
next	;

1.14.38.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.14.40.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.14.40.2;

1.14.40.2
date	2012.11.17.08.17.28;	author svnexp;	state Exp;
branches;
next	;

1.9.2.1
date	2012.11.17.07.26.37;	author svnexp;	state Exp;
branches;
next	;

1.5.2.1
date	99.08.29.16.28.00;	author peter;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sys/modules/vesa/Makefile 198251 2009-10-19 20:58:10Z jkim $

KMOD=	vesa
SRCS=	opt_vga.h opt_vesa.h
SRCS+=	bus_if.h device_if.h pci_if.h

.PATH:	${.CURDIR}/../../dev/fb
SRCS+=	vesa.c

.PATH:	${.CURDIR}/../../dev/syscons
SRCS+=	scvesactl.c

.include <bsd.kmod.mk>
@


1.17.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:05:25 +0000
@
text
@d1 13
@


1.17.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 13
# $FreeBSD: releng/8.4/sys/modules/vesa/Makefile 204546 2010-03-02 01:56:55Z delphij $

KMOD=	vesa
SRCS=	opt_vga.h opt_vesa.h
SRCS+=	bus_if.h device_if.h pci_if.h

.PATH:	${.CURDIR}/../../dev/fb
SRCS+=	vesa.c

.PATH:	${.CURDIR}/../../dev/syscons
SRCS+=	scvesactl.c

.include <bsd.kmod.mk>
@


1.16
log
@SVN rev 198251 on 2009-10-19 20:58:10Z by jkim

Rewrite x86bios and update its dependent drivers.

- Do not map entire real mode memory (1MB).  Instead, we map IVT/BDA and
ROM area separately.  Most notably, ROM area is mapped as device memory
(uncacheable) as it should be.  User memory is dynamically allocated and
free'ed with contigmalloc(9) and contigfree(9).  Remove now redundant and
potentially dangerous x86bios_alloc.c.  If this emulator ever grows to
support non-PC hardware, we may implement it with rman(9) later.
- Move all host-specific initializations from x86emu_util.c to x86bios.c and
remove now unnecessary x86emu_util.c.  Currently, non-PC hardware is not
supported.  We may use bus_space(9) later when the KPI is fixed.
- Replace all bzero() calls for emulated registers with more obviously named
x86bios_init_regs().  This function also initializes DS and SS properly.
- Add x86bios_get_intr().  This function checks if the interrupt vector is
available for the platform.  It is not necessary for PC-compatible hardware
but it may be needed later. ;-)
- Do not try turning off monitor if DPMS does not support the state.
- Allocate stable memory for VESA OEM strings instead of just holding
pointers to them.  They may or may not be accessible always.  Fix a memory
leak of video mode table while I am here.
- Add (experimental) BIOS POST call for vesa(4).  This function calls VGA
BIOS POST code from the current VGA option ROM.  Some video controllers
cannot save and restore the state properly even if it is claimed to be
supported.  Usually the symptom is blank display after resuming from suspend
state.  If the video mode does not match the previous mode after restoring,
we try BIOS POST and force the known good initial state.  Some magic was
taken from NetBSD (and it was taken from vbetool, I believe.)
- Add a loader tunable for vgapci(4) to give a hint to dpms(4) and vesa(4)
to identify who owns the VESA BIOS.  This is very useful for multi-display
adapter setup.  By default, the POST video controller is automatically
probed and the tunable "hw.pci.default_vgapci_unit" is set to corresponding
vgapci unit number.  You may override it from loader but it is very unlikely
to be necessary.  Unfortunately only AGP/PCI/PCI-E controllers can be
matched because ISA controller does not have necessary device IDs.
- Fix a long standing bug in state save/restore function.  The state buffer
pointer should be ES:BX, not ES:DI according to VBE 3.0.  If it ever worked,
that's because BX was always zero. :-)
- Clean up register initializations more clearer per VBE 3.0.
- Fix a lot of style issues with vesa(4).
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.16.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.16.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/sys/modules/vesa/Makefile 198251 2009-10-19 20:58:10Z jkim $
@


1.16.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.16.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sys/modules/vesa/Makefile 198251 2009-10-19 20:58:10Z jkim $
@


1.16.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.16.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sys/modules/vesa/Makefile 198251 2009-10-19 20:58:10Z jkim $
@


1.15
log
@SVN rev 197025 on 2009-09-09 09:50:31Z by delphij

 - Teach vesa(4) and dpms(4) about x86emu. [1]
 - Add vesa kernel options for amd64.
 - Connect libvgl library and splash kernel modules to amd64 build.
 - Connect manual page dpms(4) to amd64 build.
 - Remove old vesa/dpms files.

Submitted by:	paradox <ddkprog yahoo com> [1], swell k at gmail.com
		(with some minor tweaks)
@
text
@d5 1
@


1.14
log
@Drop <bsd.man.mk> support from <bsd.kmod.mk>.

Not objected to by:	-current
@
text
@d3 5
a7 1
.PATH: ${.CURDIR}/../../dev/syscons ${.CURDIR}/../../i386/isa
d9 2
a10 2
KMOD=	vesa
SRCS=	vesa.c scvesactl.c opt_vga.h opt_vesa.h
@


1.14.24.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/modules/vesa/Makefile 89260 2002-01-11 15:49:02Z ru $
@


1.14.14.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/modules/vesa/Makefile 89260 2002-01-11 15:49:02Z ru $
@


1.14.40.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.14.40.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/modules/vesa/Makefile 89260 2002-01-11 15:49:02Z ru $
@


1.14.38.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.14.36.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.14.36.2
log
@SVN rev 204546 on 2010-03-02 01:56:55Z by delphij

MFC x86emu/x86bios emulator and make previously i386 only dpms and vesa
framebuffer driver, etc. work on FreeBSD/amd64.

A significant amount of improvements were done by jkim@@ during the recent
months to make vesa(4) work better, over the initial code import.  This
work is based on OpenBSD's x86emu implementation and contributed by
paradox <ddkprog yahoo com> and swell.k at gmail com.

Hopefully I have stolen all their work to 8-STABLE :)

All bugs in this commit are mine, as usual.
@
text
@d3 2
d6 1
a6 8
SRCS=	opt_vga.h opt_vesa.h
SRCS+=	bus_if.h device_if.h pci_if.h

.PATH:	${.CURDIR}/../../dev/fb
SRCS+=	vesa.c

.PATH:	${.CURDIR}/../../dev/syscons
SRCS+=	scvesactl.c
@


1.14.36.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/modules/vesa/Makefile 204546 2010-03-02 01:56:55Z delphij $
@


1.14.36.2.6.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.14.36.2.6.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sys/modules/vesa/Makefile 204546 2010-03-02 01:56:55Z delphij $
@


1.14.36.2.4.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.14.36.2.2.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.14.36.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.14.34.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.14.32.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.14.30.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.13
log
@Use a consistent style and one much closer to the rest of /usr/src
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/vesa/Makefile,v 1.12 2000/10/06 01:43:59 jhb Exp $
a6 1
NOMAN=
@


1.12
log
@- Include opt_vesa.h in vesa.c so that the VESA_DEBUG option is actually
  propagated from the kernel config file to the source.
- Add some more debug messages to list each mode that is rejected or found.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/vesa/Makefile,v 1.11 2000/05/27 01:14:29 peter Exp $
d3 5
a7 4
.PATH:	${.CURDIR}/../../dev/syscons ${.CURDIR}/../../i386/isa
KMOD	=	vesa
SRCS	=	vesa.c scvesactl.c opt_vga.h opt_vesa.h
NOMAN	=
@


1.11
log
@Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/vesa/Makefile,v 1.10 2000/05/04 12:08:46 peter Exp $
d5 1
a5 1
SRCS	=	vesa.c scvesactl.c opt_vga.h
@


1.10
log
@Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk.  This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/vesa/Makefile,v 1.9 2000/01/29 15:08:42 peter Exp $
d8 1
a8 1
.include "${.CURDIR}/../../conf/kmod.mk"
@


1.9
log
@Use config's conditional compilation rather than using #ifdefs that make
modular compilation harder.  I'm doing this because people seem to like
cut/pasting examples of bad practices in existing code.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/vesa/Makefile,v 1.8 1999/11/28 18:53:39 bde Exp $
d8 1
a8 1
.include <bsd.kmod.mk>
@


1.9.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/modules/vesa/Makefile 56836 2000-01-29 15:08:56Z peter $
@


1.8
log
@Removed special rules for building and cleaning device interface files
and empty options files.  The rules are now generated automatically in
bsd.kmod.mk.  Cleaned up related things ($S and ${CLEANFILES}).
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/vesa/Makefile,v 1.7 1999/08/28 00:48:01 peter Exp $
d5 1
a5 2
SRCS	=	vesa.c scvesactl.c sc.h vga.h opt_syscons.h opt_vga.h \
		opt_vesa.h opt_fb.h
a6 10
CLEANFILES =	sc.h vga.h

sc.h:
	echo "#define NSC 1" > sc.h

vga.h:
	echo "#define NVGA 1" > vga.h

opt_vesa.h:
	echo "#define VESA 1" > opt_vesa.h
@


1.7
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d8 1
a8 1
CLEANFILES +=	sc.h vga.h opt_syscons.h opt_vga.h opt_vesa.h opt_fb.h
a15 6
opt_syscons.h:
	touch opt_syscons.h

opt_vga.h:
	touch opt_vga.h

a17 3

opt_fb.h:
	touch opt_fb.h
@


1.6
log
@Unifdef VM86.

Reviewed by:	silence on on -current
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.5 1999/01/11 03:18:56 yokota Exp $
@


1.5
log
@The first stage of console driver reorganization: activate new
keyboard and video card drivers.

Because of the changes, you are required to update your kernel
configuration file now!

The files in sys/dev/syscons are still i386-specific (but less so than
before), and won't compile for alpha and PC98 yet.

syscons still directly accesses the video card registers here and
there; this will be rectified in the later stages.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1998/12/30 11:21:07 yokota Exp $
d6 1
a6 1
		opt_vesa.h opt_vm86.h opt_fb.h
d8 1
a8 2
CLEANFILES +=	sc.h vga.h opt_syscons.h opt_vga.h opt_vesa.h opt_vm86.h \
		opt_fb.h
a23 3

opt_vm86.h:
	echo "#define VM86 1" > opt_vm86.h
@


1.5.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.4
log
@Make the VESA KLD module work!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1998/10/16 04:30:51 peter Exp $
d3 1
a3 1
.PATH:	${.CURDIR}/../../i386/isa
d5 2
a6 1
SRCS	=	vesa.c scvesactl.c sc.h opt_vesa.h opt_vm86.h
d8 2
a9 1
CLEANFILES +=	sc.h opt_vesa.h opt_vm86.h
d14 9
d28 3
@


1.3
log
@Sample initial set of kld-ified modules.  Not all have been completely
converted yet.  These are more of a starting point.  This is NOT connected
to the parent Makefile.

OK'ed by jkh (who is ever so patiently waiting)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1998/09/15 20:14:11 sos Exp $
a6 1
CFLAGS	+=	-DVESA_MODULE
@


1.2
log
@Double oops, committed the wrong Makefile ata that, fixed.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1998/09/15 20:09:18 sos Exp $
d3 2
a4 2
.PATH:	${.CURDIR}/../../sys/i386/isa
KMOD	=	vesa_mod
@


1.1
log
@Oops for the Makefile for the VESA lkm
@
text
@d1 1
a1 1
#	$Id: $
d3 1
a3 1
.PATH:	${.CURDIR}/../../../sys/i386/isa
@
