Fix Super-I/O exit sequence for Winbond/Fintek chips. isadump

and friends now use the same sequence as sensors-detect uses.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4405 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-05-16 08:45:03 +00:00
1 parent d6aa3f5487
commit 59555f0cdf
2 files changed
+5

No files matched your search

+4
View File
@@ -66,6 +66,10 @@ void superio_write_key(int addrreg, unsigned char *key)
void superio_reset(int addrreg, int datareg)
{
/* Some chips (SMSC, Winbond) want this */
outb(0xaa, addrreg);
/* Return to "Wait For Key" state (PNP-ISA spec) */
outb(0x02, addrreg);
outb(0x02, datareg);
}