Date: Tue, 27 Mar 2007 21:03:37 +0000 (UTC) From: Nick Hibma <n_hibma@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/arm/at91 at91_st.c src/sys/arm/xscale/i80321 i80321_wdog.c src/sys/arm/xscale/ixp425 ixp425_wdog.c src/sys/dev/ichwd ichwd.c src/sys/dev/ipmi ipmi.c src/sys/dev/mk48txx mk48txx.c src/sys/dev/watchdog watchdog.c ... Message-ID: <200703272103.l2RL3b4N068618@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
n_hibma 2007-03-27 21:03:37 UTC FreeBSD src repository Modified files: sys/arm/at91 at91_st.c sys/arm/xscale/i80321 i80321_wdog.c sys/arm/xscale/ixp425 ixp425_wdog.c sys/dev/ichwd ichwd.c sys/dev/ipmi ipmi.c sys/dev/mk48txx mk48txx.c sys/dev/watchdog watchdog.c sys/i386/i386 elan-mmcr.c geode.c Log: Revisit the watchdogs: Resetting the error to EINVAL after failing to set the watchdog might hide the succesful arming of an earlier one. Accept that on failing to arm any watchdog (because of non-supported timeouts) EOPNOTSUPP is returned instead of the more appropriate EINVAL. MFC after: 3 days Revision Changes Path 1.9 +1 -3 src/sys/arm/at91/at91_st.c 1.4 +2 -5 src/sys/arm/xscale/i80321/i80321_wdog.c 1.2 +1 -1 src/sys/arm/xscale/ixp425/ixp425_wdog.c 1.9 +0 -2 src/sys/dev/ichwd/ichwd.c 1.10 +0 -2 src/sys/dev/ipmi/ipmi.c 1.9 +4 -4 src/sys/dev/mk48txx/mk48txx.c 1.5 +2 -0 src/sys/dev/watchdog/watchdog.c 1.34 +0 -2 src/sys/i386/i386/elan-mmcr.c 1.9 +5 -2 src/sys/i386/i386/geode.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703272103.l2RL3b4N068618>