1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Remove the HW_WDOG option; it serves no purpose.

MFC after:	3 days
This commit is contained in:
Dag-Erling Smørgrav 2004-08-29 11:10:09 +00:00
parent 6c420ed90e
commit 0eac4495db
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134479
5 changed files with 0 additions and 20 deletions

View File

@ -29,10 +29,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#ifdef _KERNEL
#include "opt_hw_wdog.h"
#endif /* _KERNEL */
#include <sys/param.h>
#ifdef _KERNEL

View File

@ -85,7 +85,6 @@ GEOM_STRIPE opt_geom.h
GEOM_SUNLABEL opt_geom.h
GEOM_UZIP opt_geom.h
GEOM_VOL opt_geom.h
HW_WDOG
KSTACK_MAX_PAGES
KSTACK_PAGES
KTRACE

View File

@ -38,7 +38,6 @@
__FBSDID("$FreeBSD$");
#include "opt_kdb.h"
#include "opt_hw_wdog.h"
#include "opt_mac.h"
#include "opt_panic.h"
#include "opt_show_busybufs.h"
@ -104,17 +103,6 @@ SYSCTL_INT(_kern, OID_AUTO, sync_on_panic, CTLFLAG_RW,
SYSCTL_NODE(_kern, OID_AUTO, shutdown, CTLFLAG_RW, 0, "Shutdown environment");
#ifdef HW_WDOG
/*
* If there is a hardware watchdog, point this at the function needed to
* hold it off.
* It's needed when the kernel needs to do some lengthy operations.
* e.g. in wd.c when dumping core.. It's most annoying to have
* your precious core-dump only half written because the wdog kicked in.
*/
watchdog_tickle_fn wdog_tickler = NULL;
#endif /* HW_WDOG */
/*
* Variable panicstr contains argument to first call to panic; used as flag
* to indicate that the kernel has already called panic.

View File

@ -11,7 +11,6 @@ KMOD= cam
SRCS= opt_cam.h
SRCS+= opt_scsi.h
SRCS+= opt_cd.h
SRCS+= opt_hw_wdog.h
SRCS+= opt_pt.h
SRCS+= opt_sa.h
SRCS+= opt_ses.h

View File

@ -54,8 +54,6 @@
#if NWDC > 0
#include "opt_hw_wdog.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>