lkml.org 
[lkml]   [2012]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPatch for f71808e_wdt.c.
Hi,

I have a Jetway JNF99 motherboard, featuring the F71869 SuperIO chip, but its
watchdog chipset ID appears to be 1007 (as opposed to 0814). Some testing
confirmed it behaves the exact same as 0814. The short attached patch adds
that chipset ID to the module's ID list so that the Fintek watchdog driver can
correctly identify and access it.

Justin--- linux-3.2.12-gentoo.orig/drivers/watchdog/f71808e_wdt.c 2012-06-11 09:48:35.940001076 -0400
+++ linux-3.2.12-gentoo/drivers/watchdog/f71808e_wdt.c 2012-06-11 09:48:35.940001076 -0400
@@ -54,6 +54,7 @@
#define SIO_F71858_ID 0x0507 /* Chipset ID */
#define SIO_F71862_ID 0x0601 /* Chipset ID */
#define SIO_F71869_ID 0x0814 /* Chipset ID */
+#define SIO_F71869A_ID 0x1007 /* Chipset ID */
#define SIO_F71882_ID 0x0541 /* Chipset ID */
#define SIO_F71889_ID 0x0723 /* Chipset ID */

@@ -194,7 +195,7 @@
return -EBUSY;
}

- /* according to the datasheet the key must be send twice! */
+ /* according to the datasheet the key must be sent twice! */
outb(SIO_UNLOCK_KEY, base);
outb(SIO_UNLOCK_KEY, base);

@@ -761,6 +762,7 @@
err = f71862fg_pin_configure(0); /* validate module parameter */
break;
case SIO_F71869_ID:
+ case SIO_F71869A_ID:
watchdog.type = f71869;
break;
case SIO_F71882_ID:
\
 
 \ /
  Last update: 2012-06-11 08:02    [W:0.039 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site