Author: uwe Date: 2007-09-25 01:24:46 +0200 (Tue, 25 Sep 2007) New Revision: 2806
Modified: trunk/util/superiotool/winbond.c Log: Detection support for the Winbond W83627HF (trivial).
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de Acked-by: Uwe Hermann uwe@hermann-uwe.de
Modified: trunk/util/superiotool/winbond.c =================================================================== --- trunk/util/superiotool/winbond.c 2007-09-24 22:02:31 UTC (rev 2805) +++ trunk/util/superiotool/winbond.c 2007-09-24 23:24:46 UTC (rev 2806) @@ -123,6 +123,8 @@ {0x30,0x60,0x61,0x70,0xf0,0xf1,EOT}, {0x00,0x00,0x00,0x00,0xc1,0x00,EOT}}, {EOT}}}, + {0x52, "W83627HF", { + {EOT}}}, {EOT} };
@@ -136,8 +138,11 @@ devid = regval(port, DEVICE_ID_REG); rev = regval(port, DEVICE_REV_REG);
- /* Bits 3..0 of 'rev' form the IC version, we don't match that. */ - id = (devid << 4) | ((rev & 0xf0) >> 4); + if (devid != 0x52) + /* Bits 3..0 of 'rev' == IC version, we don't match that. */ + id = (devid << 4) | ((rev & 0xf0) >> 4); + else + id = devid;
if (superio_unknown(reg_table, id)) { no_superio_found(port);