mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
![Emmanuel Vadot](/assets/img/avatar_default.png)
This driver supports some arm and arm64 boards equipped with "snps,dw-wdt"-compatible watchdog device. Tested on RK3399-based board (RockPro64). Once started watchdog device cannot be stopped. Interrupt handler has mode to kick watchdog even when software does not do it properly. This can be controlled via sysctl: dev.dwwdt.prevent_restart. Also - driver handles system shutdown and prevents from restart when system is asked to reboot. Submitted by: kjopek@gmail.com Differential Revision: https://reviews.freebsd.org/D26761
8 lines
126 B
Makefile
8 lines
126 B
Makefile
.PATH: ${SRCTOP}/sys/dev/dwwdt
|
|
|
|
KMOD = dwwdt
|
|
SRCS = dwwdt.c \
|
|
device_if.h bus_if.h ofw_bus_if.h
|
|
|
|
.include<bsd.kmod.mk>
|