Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

watchdog: f71808e_wdt: Add support for Jetway JNF99 motherboard

The Jetway JNF99 motherboard features a 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. So add this chipset ID to the
module's ID list so that the Fintek watchdog driver can correctly identify
and access it.

Signed-off-by: Justin Wheeler <jwheeler@datademons.com>
Acked-by: Giel van Schijndel <me@mortis.eu>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

authored by

Justin Wheeler and committed by
Wim Van Sebroeck
3017020d a6be1fcb

+3 -1
+3 -1
drivers/watchdog/f71808e_wdt.c
··· 56 56 #define SIO_F71858_ID 0x0507 /* Chipset ID */ 57 57 #define SIO_F71862_ID 0x0601 /* Chipset ID */ 58 58 #define SIO_F71869_ID 0x0814 /* Chipset ID */ 59 + #define SIO_F71869A_ID 0x1007 /* Chipset ID */ 59 60 #define SIO_F71882_ID 0x0541 /* Chipset ID */ 60 61 #define SIO_F71889_ID 0x0723 /* Chipset ID */ 61 62 ··· 196 195 return -EBUSY; 197 196 } 198 197 199 - /* according to the datasheet the key must be send twice! */ 198 + /* according to the datasheet the key must be sent twice! */ 200 199 outb(SIO_UNLOCK_KEY, base); 201 200 outb(SIO_UNLOCK_KEY, base); 202 201 ··· 757 756 err = f71862fg_pin_configure(0); /* validate module parameter */ 758 757 break; 759 758 case SIO_F71869_ID: 759 + case SIO_F71869A_ID: 760 760 watchdog.type = f71869; 761 761 break; 762 762 case SIO_F71882_ID: