Make POWERFAIL_NMI, PPS_SYNC and NATM new style options.

This also fixes a couple of defunct options; submitted by bde.
This commit is contained in:
Eivind Eklund 1998-01-31 05:00:21 +00:00
parent c6b60f62de
commit e0d781f3a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32925
11 changed files with 26 additions and 12 deletions

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.118 1997/12/04 21:21:26 jmg Exp $
* $Id: trap.c,v 1.119 1997/12/06 04:11:01 sef Exp $
*/
/*
@ -45,6 +45,7 @@
#include "opt_cpu.h"
#include "opt_ddb.h"
#include "opt_ktrace.h"
#include "opt_trap.h"
#include "opt_vm86.h"
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
# $Id: options,v 1.50 1998/01/26 18:31:18 julian Exp $
# $Id: options,v 1.51 1998/01/30 11:32:09 phk Exp $
# Format:
# Option name filename
@ -17,6 +17,7 @@ MD5
MFS_AUTOLOAD opt_mfs.h
MFS_ROOT opt_mfs.h
NSWAPDEV opt_swap.h
PPS_SYNC opt_ntp.h
QUOTA
SUIDDIR opt_suiddir.h
SYSVMSG opt_sysvipc.h
@ -136,6 +137,10 @@ PPP_FILTER opt_ppp.h
TCP_COMPAT_42 opt_compat.h
TCPDEBUG
# XXX Conflict: # of devices vs network protocol (Native ATM).
# This makes "atm.h" unusable.
NATM opt_natm.h
# DPT driver debug flags
DPT_VERIFY_HINTR opt_dpt.h
DPT_USE_SINTR opt_dpt.h

View File

@ -1,4 +1,4 @@
# $Id: options.i386,v 1.68 1998/01/26 06:11:14 julian Exp $
# $Id: options.i386,v 1.69 1998/01/26 18:31:17 julian Exp $
BOUNCEPAGES opt_bounce.h
USER_LDT
@ -13,6 +13,7 @@ SHOW_BUSYBUFS
PANIC_REBOOT_WAIT_TIME opt_panic.h
MAXMEM
PERFMON opt_perfmon.h
POWERFAIL_NMI opt_trap.h
AUTO_EOI_1 opt_auto_eoi.h
AUTO_EOI_2 opt_auto_eoi.h
BREAK_TO_DEBUGGER opt_comconsole.h
@ -24,8 +25,9 @@ COM_ESP opt_sio.h
COM_MULTIPORT opt_sio.h
DSI_SOFT_MODEM opt_sio.h
EXTRA_SIO opt_sio.h
I586_CTR_GUPROF opt_defunct.h
I586_PMC_GUPROF opt_i586_guprof.h
TSC_GUPROF opt_i586_guprof.h
TSC_GUPROF opt_defunct.h
WLCACHE opt_wavelan.h
WLDEBUG opt_wavelan.h
@ -46,7 +48,6 @@ AHC_SHARE_SCBS opt_aic7xxx.h
CLK_CALIBRATION_LOOP opt_clock.h
CLK_USE_I8254_CALIBRATION opt_clock.h
CLK_USE_I586_CALIBRATION opt_clock.h
CLK_USE_TSC_CALIBRATION opt_clock.h
NO_F00F_HACK opt_cpu.h

View File

@ -90,6 +90,7 @@
#ifdef __FreeBSD__
#include "en.h"
#include "opt_inet.h"
#include "opt_natm.h"
#endif
#if NEN > 0 || !defined(__FreeBSD__)

View File

@ -1,4 +1,4 @@
# $Id: options.i386,v 1.68 1998/01/26 06:11:14 julian Exp $
# $Id: options.i386,v 1.69 1998/01/26 18:31:17 julian Exp $
BOUNCEPAGES opt_bounce.h
USER_LDT
@ -13,6 +13,7 @@ SHOW_BUSYBUFS
PANIC_REBOOT_WAIT_TIME opt_panic.h
MAXMEM
PERFMON opt_perfmon.h
POWERFAIL_NMI opt_trap.h
AUTO_EOI_1 opt_auto_eoi.h
AUTO_EOI_2 opt_auto_eoi.h
BREAK_TO_DEBUGGER opt_comconsole.h
@ -24,8 +25,9 @@ COM_ESP opt_sio.h
COM_MULTIPORT opt_sio.h
DSI_SOFT_MODEM opt_sio.h
EXTRA_SIO opt_sio.h
I586_CTR_GUPROF opt_defunct.h
I586_PMC_GUPROF opt_i586_guprof.h
TSC_GUPROF opt_i586_guprof.h
TSC_GUPROF opt_defunct.h
WLCACHE opt_wavelan.h
WLDEBUG opt_wavelan.h
@ -46,7 +48,6 @@ AHC_SHARE_SCBS opt_aic7xxx.h
CLK_CALIBRATION_LOOP opt_clock.h
CLK_USE_I8254_CALIBRATION opt_clock.h
CLK_USE_I586_CALIBRATION opt_clock.h
CLK_USE_TSC_CALIBRATION opt_clock.h
NO_F00F_HACK opt_cpu.h

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.118 1997/12/04 21:21:26 jmg Exp $
* $Id: trap.c,v 1.119 1997/12/06 04:11:01 sef Exp $
*/
/*
@ -45,6 +45,7 @@
#include "opt_cpu.h"
#include "opt_ddb.h"
#include "opt_ktrace.h"
#include "opt_trap.h"
#include "opt_vm86.h"
#include <sys/param.h>

View File

@ -46,6 +46,9 @@
* this routine are used by hardclock() to adjust the phase and
* frequency of the phase-lock loop which controls the system clock.
*/
#include "opt_ntp.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysproto.h>

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.118 1997/12/04 21:21:26 jmg Exp $
* $Id: trap.c,v 1.119 1997/12/06 04:11:01 sef Exp $
*/
/*
@ -45,6 +45,7 @@
#include "opt_cpu.h"
#include "opt_ddb.h"
#include "opt_ktrace.h"
#include "opt_trap.h"
#include "opt_vm86.h"
#include <sys/param.h>

View File

@ -37,6 +37,7 @@
*/
#include "opt_inet.h"
#include "opt_natm.h"
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -37,6 +37,7 @@
*/
#include "opt_inet.h"
#include "opt_natm.h"
#ifdef INET

View File

@ -164,7 +164,6 @@
#define MINSEC 16L /* min interval between updates (s) */
#define MAXSEC 1200L /* max interval between updates (s) */
#ifdef PPS_SYNC
/*
* The following defines are used only if a pulse-per-second (PPS)
* signal is available and connected via a modem control lead, such as
@ -190,7 +189,6 @@
#define PPS_SHIFTMAX 8 /* max interval duration (s) (shift) */
#define PPS_VALID 120 /* pps signal watchdog max (s) */
#define MAXGLITCH 30 /* pps signal glitch max (s) */
#endif /* PPS_SYNC */
/*
* The following defines and structures define the user interface for