In preparation for a new watchdog timeout interface using sbintime_t,
add a new control ioctl to arm, pat, and disarm the watchdog.
Details
Details
- Reviewers
jhb imp phk stevek - Commits
- rG69f7d6912a24: watchdog: Add a new "Control" ioctl
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/dev/watchdog/watchdog.c | ||
---|---|---|
128 | Do you mean to call it twice back to back with the same arguments if both RESET and ENABLE are set? |
sys/dev/watchdog/watchdog.c | ||
---|---|---|
128 | No, I intended to make it an else if here (might need to do more work in one of them, but haven't decided if I do, so keeping them separate). Will fix. |