summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/commit.c
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2006-06-15 20:12:40 +0000
committerbrad <brad@openbsd.org>2006-06-15 20:12:40 +0000
commitaaa1845cf0ac3aff15ff5ca2eb19a155de72161b (patch)
treef4c8a6649e67b8ca23a8ac411fa6f972aaa00f72 /usr.bin/cvs/commit.c
parentRework the interrupt code, shaving some cycles off in the process. (diff)
downloadwireguard-openbsd-aaa1845cf0ac3aff15ff5ca2eb19a155de72161b.tar.xz
wireguard-openbsd-aaa1845cf0ac3aff15ff5ca2eb19a155de72161b.zip
Fix watchdog timeout errors seen on a few systems.
The SK-NET GENESIS document says reading the SK_ISSR register should stop generating further interrupts, but it seems there is the possibility of losing interrupts between reading the SK_ISSR register and determining which interrupts have been reported. To cope with this situation we continuously read the SK_ISSR register until there are no interrupts. However, it seems that the above workaround does not fix all cases. Add workaround code that tries to protect against false alarms from the watchdog handler by trying to reclaim pending Tx descriptors before resetting the hardware. This should fix occasional watchdog timeouts seen with this driver. From FreeBSD
Diffstat (limited to 'usr.bin/cvs/commit.c')
0 files changed, 0 insertions, 0 deletions