mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Eurotech WDT driver not fully patched
@ 2001-11-19 18:53 Rodolfo Giometti
  0 siblings, 0 replies; only message in thread
From: Rodolfo Giometti @ 2001-11-19 18:53 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, m.barella

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

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

-- 

     \\\\
     (o o)
--oOO-(_)-OOo------------------------------------------------------------
Rodolfo Giometti (ZtW)               e-mail:    giometti@linux.it
                                                giometti@ascensit.com
Programmi e soluzioni GNU                       giometti@oltrelinux.com
*  Linux Device Drivers              home page: giometti.oltrelinux.com
*  Embedded Systems                  phone:     +39 329 7028903

[-- Attachment #2: patch-2.4.14-eurotechwdt-1.0.0 --]
[-- Type: text/plain, Size: 1459 bytes --]

diff -urN --exclude-from=patch-exclude linux-2.4.10/drivers/char/Config.in lp4_wd/drivers/char/Config.in
--- linux-2.4.10/drivers/char/Config.in	Sun Sep 23 18:52:38 2001
+++ lp4_wd/drivers/char/Config.in	Tue Oct  9 23:00:46 2001
@@ -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
 
diff -urN --exclude-from=patch-exclude linux-2.4.10/drivers/char/Makefile lp4_wd/drivers/char/Makefile
--- linux-2.4.10/drivers/char/Makefile	Sun Sep  9 19:43:02 2001
+++ lp4_wd/drivers/char/Makefile	Tue Oct  9 23:00:43 2001
@@ -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
 
 
diff -urN --exclude-from=patch-exclude linux-2.4.10/include/linux/watchdog.h lp4_wd/include/linux/watchdog.h
--- linux-2.4.10/include/linux/watchdog.h	Thu Oct  4 13:50:34 2001
+++ lp4_wd/include/linux/watchdog.h	Wed Oct 10 11:40:15 2001
@@ -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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-19 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-19 18:53 [PATCH] Eurotech WDT driver not fully patched Rodolfo Giometti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®