mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-07 16:01:34 +00:00
Fix Super-I/O exit sequence for Winbond/Fintek chips. isadump
now uses the same sequence as sensors-detect uses. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4407 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
9f98b33019
commit
835c00d1bc
2 files changed
+5
No files matched your search
@@ -14,6 +14,7 @@ SVN HEAD
|
||||
Delete support of non-sensor drivers (ddcmon, eeprom)
|
||||
Man page sensors.conf.5: Update the chip statement section
|
||||
Program isadump: Detect when address bit 7 is a busy flag
|
||||
Fix Super-I/O exit sequence for Winbond/Fintek chips
|
||||
Program mkpatch: Delete
|
||||
Program pwmconfig: Use smaller steps for low PWM values
|
||||
Program rrd: Support only hwmon class devices
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user