Changeset 1422


Ignore:
Timestamp:
08/26/11 23:11:41 (9 months ago)
Author:
uwe
Message:

Add AMD Hudson chipset-enable.

AMD Hudson has different vendor/device IDs than AMD SBx00, handle
that properly.

Signed-off-by: Wang Qing Pei <wangqingpei@…>
Acked-by: Uwe Hermann <uwe@…>

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/chipset_enable.c

    r1413 r1422  
    10591059        {0x1022, 0x7440, OK, "AMD", "AMD-768",          enable_flash_amd8111}, 
    10601060        {0x1022, 0x7468, OK, "AMD", "AMD8111",          enable_flash_amd8111}, 
     1061        {0x1022, 0x780e, OK, "AMD", "Hudson",           enable_flash_sb600}, 
    10611062        {0x1039, 0x0406, NT, "SiS", "501/5101/5501",    enable_flash_sis501}, 
    10621063        {0x1039, 0x0496, NT, "SiS", "85C496+497",       enable_flash_sis85c496}, 
  • trunk/sb600spi.c

    r1414 r1422  
    260260 
    261261        if (!smbus_dev) { 
    262                 msg_perr("ERROR: SMBus device not found. Not enabling SPI.\n"); 
    263                 return ERROR_NONFATAL; 
     262                smbus_dev = pci_dev_find(0x1022, 0x780b); /* AMD Hudson */ 
     263                if (!smbus_dev) { 
     264                        msg_perr("ERROR: SMBus device not found. Not enabling SPI.\n"); 
     265                        return ERROR_NONFATAL; 
     266                } 
    264267        } 
    265268 
Note: See TracChangeset for help on using the changeset viewer.