diff options
author | ru <ru@FreeBSD.org> | 2003-02-26 23:36:59 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-02-26 23:36:59 +0000 |
commit | c51d1047697351c2d3d67d9c005688407cc2da25 (patch) | |
tree | 24f5646a6a12f22ba761c4910b02c1dd2fc0fdc8 /sys/pc98 | |
parent | c350585bc92efaf445e425df456ba5de1113b40d (diff) | |
download | FreeBSD-src-c51d1047697351c2d3d67d9c005688407cc2da25.zip FreeBSD-src-c51d1047697351c2d3d67d9c005688407cc2da25.tar.gz |
Implemented "nooption" and "nomakeoption" config(8) tokens.
Fixed memory leak in the "nodevice" option implementation.
Use these instead of sed(1) in MD NOTES.
Use a single makefile (sys/conf/makeLINT.mk) to generate
LINT for all architectures. (Previous versions missed
the LINT dependency on Makefile, and i386 version also
missed the dependency on ${NOTES}.)
Fixed bugs in the previous NOTES conversion using the
"nodevice" token and sed(1):
- i386 LINT lost "device pst".
- pc98 LINT lost SC_*, MAXCONS and KBD_DISABLE_KEYMAP_LOAD
options, and got needless DPT_* options.
- Added nooptions PPC_DEBUG, PPC_PROBE_CHIPSET, KBD_INSTALL_CDEV
to sparc64 LINT so that it has a chance to config(8).
This basically returns us to where we were before.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/conf/Makefile | 41 | ||||
-rw-r--r-- | sys/pc98/conf/NOTES | 22 |
2 files changed, 23 insertions, 40 deletions
diff --git a/sys/pc98/conf/Makefile b/sys/pc98/conf/Makefile index 76e35a1..2c006e9 100644 --- a/sys/pc98/conf/Makefile +++ b/sys/pc98/conf/Makefile @@ -1,42 +1,3 @@ # $FreeBSD$ -all: - @echo "make LINT only" - -clean: - rm -f LINT - -NOTES= ../../conf/NOTES NOTES -LINT: ${NOTES} ../../conf/makeLINT.sed - cat ${NOTES} | sed -E -n -f ../../conf/makeLINT.sed \ - | sed -e /VGA_DEBUG/d \ - -e /SC_RENDER_DEBUG/d \ - -e /SC_DEBUG_LEVEL/d \ - -e /SC_NO_SUSPEND_VTYSWITCH/d \ - -e /SC_NO_SYSMOUSE/d \ - -e /SC_NO_HISTORY/d \ - -e /SC_NO_FONT_LOADING/d \ - -e /SC_NO_CUTPASTE/d \ - -e /SC_TWOBUTTON_MOUSE/d \ - -e /SC_CUT_SEPCHARS/d \ - -e /SC_CUT_SPACES2TABS/d \ - -e /SC_KERNEL_CONS_REV_ATTR/d \ - -e /SC_KERNEL_CONS_ATTR/d \ - -e /SC_NORM_REV_ATTR/d \ - -e /SC_NORM_ATTR/d \ - -e /SC_PIXEL_MODE/d \ - -e /SC_MOUSE_CHAR/d \ - -e /SC_HISTORY_SIZE/d \ - -e /SC_DISABLE_REBOOT/d \ - -e /SC_DISABLE_DDBKEY/d \ - -e /SC_DFLT_FONT/d \ - -e /SC_ALT_MOUSE_IMAGE/d \ - -e /MAXCONS/d \ - -e /VGA_WIDTH90/d \ - -e /VGA_SLOW_IOACCESS/d \ - -e /VGA_ALT_SEQACCESS/d \ - -e /PSM_RESETAFTERSUSPEND/d \ - -e /PSM_HOOKRESUME/d \ - -e /KBD_DISABLE_KEYMAP_LOAD/d \ - -e /ATKBD_DFLT_KEYMAP/d \ - > LINT +.include "${.CURDIR}/../../conf/makeLINT.mk" diff --git a/sys/pc98/conf/NOTES b/sys/pc98/conf/NOTES index ea6262a..cc5ec750 100644 --- a/sys/pc98/conf/NOTES +++ b/sys/pc98/conf/NOTES @@ -979,3 +979,25 @@ nodevice twe # 3ware ATA RAID nodevice cbb nodevice pccard nodevice cardbus + + +##################################################################### +# Options we don't want to deal with + +nooption VGA_DEBUG +nooption VGA_WIDTH90 +nooption VGA_SLOW_IOACCESS +nooption VGA_ALT_SEQACCESS +nooption PSM_RESETAFTERSUSPEND +nooption PSM_HOOKRESUME +nooption ATKBD_DFLT_KEYMAP +nooption DPT_ALLOW_MEMIO +nooption DPT_LOST_IRQ +nooption DPT_RESET_HBA +nooption DPT_TIMEOUT_FACTOR + + +##################################################################### +# Make options we don't want to deal with + +nomakeoption ATKBD_DFLT_KEYMAP |