Changeset 5070


Ignore:
Timestamp:
Jan 31, 2010, 6:48:34 PM (6 years ago)
Author:
uwe
Message:

Add detection support for the Winbond W83877AF (trivial).

Signed-off-by: Uwe Hermann <uwe@…>
Acked-by: Uwe Hermann <uwe@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/util/superiotool/winbond.c

    r5046 r5070  
    465465        {0xa, "W83877F", {
    466466                {EOT}}},
     467        {0xb, "W83877AF", {
     468                {EOT}}},
    467469        {0xc, "W83877TF", {
    468470                {EOT}}},
    469         {0xd, "W83877ATF", {
     471        {0xd, "W83877ATF/ATG", {
    470472                {EOT}}},
    471473        {EOT}
     
    557559                id = (devid << 4) | ((rev & 0xf0) >> 4); /* ID and rev[7..4] */
    558560
    559         if (olddevid == 0x0a || olddevid == 0x0c || olddevid == 0x0d)
     561        if (olddevid >= 0x0a && olddevid <= 0x0d)
    560562                id = olddevid & 0x0f;                    /* ID[3..0] */
    561563
     
    567569        }
    568570
    569         if (olddevid == 0x0a || olddevid == 0x0c || olddevid == 0x0d)
     571        if (olddevid >= 0x0a && olddevid <= 0x0d)
    570572                printf("Found Winbond %s (id=0x%02x) at 0x%x\n",
    571573                       get_superio_name(reg_table, id), olddevid, port);
Note: See TracChangeset for help on using the changeset viewer.