mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-25 19:28:10 +00:00
Enable pcvt in LINT and don't generate a compile time error if syscons
and pcvt are both configured when LINT is defined. There will be a link time error instead. This is to test building of pcvt more often.
This commit is contained in:
parent
50e2fb8055
commit
7fbcd76bb5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9482
|
@ -2,7 +2,7 @@
|
||||||
# LINT -- config file for checking all the sources, tries to pull in
|
# LINT -- config file for checking all the sources, tries to pull in
|
||||||
# as much of the source tree as it can.
|
# as much of the source tree as it can.
|
||||||
#
|
#
|
||||||
# $Id: LINT,v 1.184 1995/05/28 13:24:16 rgrimes Exp $
|
# $Id: LINT,v 1.185 1995/06/22 10:56:47 dfr Exp $
|
||||||
#
|
#
|
||||||
# NB: You probably don't want to try running a kernel built from this
|
# NB: You probably don't want to try running a kernel built from this
|
||||||
# file. Instead, you should start from GENERIC, and add options from
|
# file. Instead, you should start from GENERIC, and add options from
|
||||||
|
@ -392,10 +392,10 @@ options BOUNCE_BUFFERS
|
||||||
#options "BROKEN_KEYBOARD_RESET"
|
#options "BROKEN_KEYBOARD_RESET"
|
||||||
|
|
||||||
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
|
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
|
||||||
#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
|
device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
|
||||||
#options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.0.5
|
options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.0.5
|
||||||
#options XSERVER # include code for XFree86
|
options XSERVER # include code for XFree86
|
||||||
#options FAT_CURSOR # start with block cursor
|
options FAT_CURSOR # start with block cursor
|
||||||
|
|
||||||
# The syscons console driver (sco color console compatible) - default.
|
# The syscons console driver (sco color console compatible) - default.
|
||||||
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
|
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# LINT -- config file for checking all the sources, tries to pull in
|
# LINT -- config file for checking all the sources, tries to pull in
|
||||||
# as much of the source tree as it can.
|
# as much of the source tree as it can.
|
||||||
#
|
#
|
||||||
# $Id: LINT,v 1.184 1995/05/28 13:24:16 rgrimes Exp $
|
# $Id: LINT,v 1.185 1995/06/22 10:56:47 dfr Exp $
|
||||||
#
|
#
|
||||||
# NB: You probably don't want to try running a kernel built from this
|
# NB: You probably don't want to try running a kernel built from this
|
||||||
# file. Instead, you should start from GENERIC, and add options from
|
# file. Instead, you should start from GENERIC, and add options from
|
||||||
|
@ -392,10 +392,10 @@ options BOUNCE_BUFFERS
|
||||||
#options "BROKEN_KEYBOARD_RESET"
|
#options "BROKEN_KEYBOARD_RESET"
|
||||||
|
|
||||||
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
|
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
|
||||||
#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
|
device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
|
||||||
#options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.0.5
|
options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.0.5
|
||||||
#options XSERVER # include code for XFree86
|
options XSERVER # include code for XFree86
|
||||||
#options FAT_CURSOR # start with block cursor
|
options FAT_CURSOR # start with block cursor
|
||||||
|
|
||||||
# The syscons console driver (sco color console compatible) - default.
|
# The syscons console driver (sco color console compatible) - default.
|
||||||
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
|
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# LINT -- config file for checking all the sources, tries to pull in
|
# LINT -- config file for checking all the sources, tries to pull in
|
||||||
# as much of the source tree as it can.
|
# as much of the source tree as it can.
|
||||||
#
|
#
|
||||||
# $Id: LINT,v 1.184 1995/05/28 13:24:16 rgrimes Exp $
|
# $Id: LINT,v 1.185 1995/06/22 10:56:47 dfr Exp $
|
||||||
#
|
#
|
||||||
# NB: You probably don't want to try running a kernel built from this
|
# NB: You probably don't want to try running a kernel built from this
|
||||||
# file. Instead, you should start from GENERIC, and add options from
|
# file. Instead, you should start from GENERIC, and add options from
|
||||||
|
@ -392,10 +392,10 @@ options BOUNCE_BUFFERS
|
||||||
#options "BROKEN_KEYBOARD_RESET"
|
#options "BROKEN_KEYBOARD_RESET"
|
||||||
|
|
||||||
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
|
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
|
||||||
#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
|
device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
|
||||||
#options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.0.5
|
options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.0.5
|
||||||
#options XSERVER # include code for XFree86
|
options XSERVER # include code for XFree86
|
||||||
#options FAT_CURSOR # start with block cursor
|
options FAT_CURSOR # start with block cursor
|
||||||
|
|
||||||
# The syscons console driver (sco color console compatible) - default.
|
# The syscons console driver (sco color console compatible) - default.
|
||||||
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
|
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)conf.c 5.8 (Berkeley) 5/12/91
|
* from: @(#)conf.c 5.8 (Berkeley) 5/12/91
|
||||||
* $Id: conf.c,v 1.84 1995/04/28 00:51:30 dufault Exp $
|
* $Id: conf.c,v 1.85 1995/05/30 07:59:16 rgrimes Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
@ -422,9 +422,9 @@ int nblkdev = sizeof (bdevsw) / sizeof (bdevsw[0]);
|
||||||
#include "sc.h"
|
#include "sc.h"
|
||||||
#include "vt.h"
|
#include "vt.h"
|
||||||
#if NSC > 0
|
#if NSC > 0
|
||||||
# if NVT > 0
|
# if NVT > 0 && !defined(LINT)
|
||||||
# error "sc0 and vt0 are mutually exclusive"
|
# error "sc0 and vt0 are mutually exclusive"
|
||||||
# endif /* NVT > 0 */
|
# endif
|
||||||
d_open_t scopen;
|
d_open_t scopen;
|
||||||
d_close_t scclose;
|
d_close_t scclose;
|
||||||
d_rdwr_t scread, scwrite;
|
d_rdwr_t scread, scwrite;
|
||||||
|
|
Loading…
Reference in a new issue