Author: uwe Date: 2007-10-15 17:46:59 +0200 (Mon, 15 Oct 2007) New Revision: 2855
Modified: trunk/util/superiotool/winbond.c Log: Fix stupid thinko in the Winbond detection code which prevented some of the Winbond chips from being detected (trivial fix). This is verified on real hardware and works fine now. Signed-off-by: Uwe Hermann <[EMAIL PROTECTED]> Acked-by: Uwe Hermann <[EMAIL PROTECTED]> Modified: trunk/util/superiotool/winbond.c =================================================================== --- trunk/util/superiotool/winbond.c 2007-10-14 17:02:15 UTC (rev 2854) +++ trunk/util/superiotool/winbond.c 2007-10-15 15:46:59 UTC (rev 2855) @@ -291,7 +291,7 @@ if (devid == 0x52) id = devid; /* ID only */ - else if ((devid == 0x97) && ((rev & 0xf0) == 7)) + else if ((devid == 0x97) && ((rev & 0xf0) == 0x70)) id = (devid << 8) | rev; /* ID and rev */ else id = (devid << 4) | ((rev & 0xf0) >> 4); /* ID and rev[3..0] */ -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios