From owner-freebsd-arch@FreeBSD.ORG Wed Jul 23 22:57:23 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A6A537B401; Wed, 23 Jul 2003 22:57:23 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E2D143F75; Wed, 23 Jul 2003 22:57:21 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id PAA11086; Thu, 24 Jul 2003 15:57:19 +1000 Date: Thu, 24 Jul 2003 15:57:18 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Sean Kelly In-Reply-To: <20030723230315.GA12251@edgemaster.zombie.org> Message-ID: <20030724155335.Q2922@gamplex.bde.org> References: <20030723230315.GA12251@edgemaster.zombie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org cc: current@freebsd.org Subject: Re: Remove "options HW_WDOG"? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 05:57:23 -0000 On Wed, 23 Jul 2003, Sean Kelly wrote: > While working on my software watchdog, it has come to my attention that the > "options HW_WDOG" in FreeBSD does absolutely nothing. does anybody actually > use this code, or can I purge it in favor of the software watchdog? > > /usr/src/sys$ find . -type f |xargs grep HW_WDOG > ./conf/NOTES:options HW_WDOG > ./conf/options:HW_WDOG > ./kern/kern_shutdown.c:#ifdef HW_WDOG > ./kern/kern_shutdown.c:#endif /* HW_WDOG */ > > All the bit in kern/kern_shutdown.c does is: > > watchdog_tickle_fn wdog_tickler = NULL; > > And I can't find that being used anywhere. watchdog_tickle_fn wdog_tickler is only used in the wd driver, which is still undead in RELENG_4. Bruce