Eurotech WDT driver not fully patched
Subsystems (2)
PATCH 1/1 Eurotech WDT driver not fully patched
Hello!
I notice you add my (little) driver into main kernel tree (see file linux/drivers/char/eurotechwdt.c) and I'm very happy for this! :^)
But you forgot to patch some files so, currently, is not possible compiling and using it! :'(
Please, use the following patch to put everything ok.
Thanks,
Rodolfo
Signature · 8 lines
\\\\
(o o)
--oOO-(_)-OOo------------------------------------------------------------
Rodolfo Giometti (ZtW) e-mail: [email protected]
[email protected]
Programmi e soluzioni GNU [email protected]
* Linux Device Drivers home page: giometti.oltrelinux.com
* Embedded Systems phone: +39 329 7028903drivers/char/Config.in +1 -0
@@ -166,6 +166,7 @@ fi fi tristate ' ZF MachZ Watchdog' CONFIG_MACHZ_WDT + tristate ' Eurotech CPU-1220/1410 Watchdog Timer' CONFIG_EUROTECH_WDT fi endmenu
drivers/char/Makefile +1 -0
@@ -230,6 +230,7 @@ obj-$(CONFIG_977_WATCHDOG) += wdt977.o obj-$(CONFIG_I810_TCO) += i810-tco.o obj-$(CONFIG_MACHZ_WDT) += machzwd.o +obj-$(CONFIG_EUROTECH_WDT) += eurotechwdt.o obj-$(CONFIG_SH_WDT) += shwdt.o
include/linux/watchdog.h +1 -0
@@ -25,6 +25,7 @@#define WDIOC_GETTEMP _IOR(WATCHDOG_IOCTL_BASE, 3, int)#define WDIOC_SETOPTIONS _IOR(WATCHDOG_IOCTL_BASE, 4, int)#define WDIOC_KEEPALIVE _IOR(WATCHDOG_IOCTL_BASE, 5, int) +#define WDIOC_SETTIMEOUT _IOW(WATCHDOG_IOCTL_BASE, 6, int)#define WDIOF_UNKNOWN -1/* Unknown flag error */ #define WDIOS_UNKNOWN -1/* Unknown status error */