Remove "options HW_WDOG"?

Bruce Evans bde at zeta.org.au
Wed Jul 23 22:57:23 PDT 2003


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


More information about the freebsd-current mailing list