freebsd-nq/sys
Poul-Henning Kamp 965df046e5 Apply a patch that has been lingering in my inbox for far too long:
On a soekris Net5501, if you do a watchdog -t 16, followed by a watchdog
-t 0 to disable the watchdog, and then after some time (16s) re-enable
the watchdog the box reboots immediatly. This prevents also to stop and
restart watchdogd(8).

This is because when you stop the watchdog, the timer is not stoped,
only the hard reset is disabled. So when the timer has elapsed, the C2
event of the timer is set.

But when the hard reset is re-enabled, the event is not cleared and the
box reboots.

The attached patch stops and resets the counter when the watchdog is
disabled and do not disable the hard reset of the timer (if the timer
has elapsed it's too late).

Submitted by:	 Patrick Lamaizière
2010-05-15 10:31:11 +00:00
..
amd64 Do not use .extern, it is not strictly needed with gas and it is custom 2010-05-13 09:59:10 +00:00
arm Catchup with new prototype for db_printf(). 2010-05-14 00:00:19 +00:00
boot mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the 2010-05-13 12:07:55 +00:00
bsm
cam Pick up the right change, not it's close cousin. The one 2010-05-11 22:51:13 +00:00
cddl Fix ZIL-related panic on zfs rollback. 2010-05-13 20:55:58 +00:00
compat - #ifdef out the cliplist part, skype seems like using an uninitialized 2010-05-03 14:19:58 +00:00
conf Allow the USB_REQ_DEBUG to be enabled in the kernel conf. 2010-05-13 20:48:39 +00:00
contrib Sync run(4) driver from author's site. 2010-05-13 00:19:03 +00:00
crypto
ddb There is not a good reason to have a different prototype for db_printf() 2010-05-11 17:01:14 +00:00
dev Small changes preparing for MFC, need to conditionalize 2010-05-14 22:18:34 +00:00
fs The thread_unsuspend() requires both process mutex and process spinlock 2010-05-10 15:19:12 +00:00
gdb
geom Yet another potential dereference of a dead provider. 2010-05-14 21:27:39 +00:00
gnu Move checking against RLIMIT_FSIZE into one place, vn_rlimit_fsize(). 2010-05-05 16:44:25 +00:00
i386 Apply a patch that has been lingering in my inbox for far too long: 2010-05-15 10:31:11 +00:00
ia64 Push down the page queues into vm_page_cache(), vm_page_try_to_cache(), and 2010-05-08 20:34:01 +00:00
isa Introduce the new kernel sub-tree x86 which should contain all the code 2010-02-25 14:13:39 +00:00
kern Fix an issue with the dynamic pcpu/vnet data allocators. 2010-05-14 21:11:58 +00:00
kgssapi
libkern Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
mips Remove some stray ';'s 2010-05-13 01:50:29 +00:00
modules Build the ixgbe(4) and mwlfw(4) modules by default. 2010-05-12 17:30:46 +00:00
net Fix an issue with the dynamic pcpu/vnet data allocators. 2010-05-14 21:11:58 +00:00
net80211 Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
netatalk
netgraph Increase the target buffer for performing NGM_ASCII2BINARY conversion 2010-05-13 16:48:28 +00:00
netinet Fix an old long time bug in generating a 2010-05-12 18:33:25 +00:00
netinet6 do a proper fix 2010-05-13 19:47:36 +00:00
netipsec Set SA's natt_type before calling key_mature() in key_add(), 2010-05-05 08:58:58 +00:00
netipx
netnatm
netncp Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
netsmb Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nfs Factor out the code shared between NFS client and server into its own 2010-02-16 20:00:21 +00:00
nfsclient Push down the page queues lock into vm_page_activate(). 2010-05-07 15:49:43 +00:00
nfsserver Patch the regular NFS server so that it returns ESTALE to the client 2010-03-26 01:19:29 +00:00
nlm
opencrypto Add comments trying to explain what bad things happen here, i.e. 2010-01-09 15:43:47 +00:00
pc98 MFi386: revision 206553 2010-04-29 06:22:07 +00:00
pci Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
powerpc Push down the page queues into vm_page_cache(), vm_page_try_to_cache(), and 2010-05-08 20:34:01 +00:00
rpc When the regular NFS server replied to a UDP client out of the replay 2010-03-23 23:03:30 +00:00
security Add a case to make sure that internal audit records get converted 2010-05-04 15:29:07 +00:00
sparc64 - Enable DMA write parity error interrupts on Schizo with a working 2010-05-14 20:00:21 +00:00
sun4v Push down the page queues into vm_page_cache(), vm_page_try_to_cache(), and 2010-05-08 20:34:01 +00:00
sys Add VOP_ADVLOCKPURGE so that the file system is called when purging 2010-05-12 21:24:46 +00:00
teken Just use <stdint.h> instead of <inttypes.h>. We don't need it here. 2010-04-03 17:22:28 +00:00
tools
ufs - Call softdep_prealloc() before any of the balloc routines in the 2010-05-07 08:45:21 +00:00
vm Update synchronization annotations for struct vm_page. Add a comment 2010-05-11 01:29:18 +00:00
x86 Fix another instance of lapic_cyclic_clock_func. 2010-04-20 21:04:57 +00:00
xdr
xen don't hold spin lock across free 2010-02-21 01:12:18 +00:00
Makefile