Changeset 2120

Show
Ignore:
Timestamp:
11/30/03 10:17:33 (9 years ago)
Author:
khali
Message:

Support AMD8111 again. Patch by from Philip Pokorny

<ppokorny@…>.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/busses/i2c-amd756.c

    r1936 r2120  
    2929    2002-10-03: Fixed nForce PnP I/O port. (Michael Steil) 
    3030    2002-12-28: Rewritten into something that resembles a Linux driver (hch) 
     31    2003-11-29: Added back AMD8111 removed by backport of the previous 
     32                rewrite. (Philip Pokorny) 
    3133*/ 
    3234 
    3335/* 
    34    Supports AMD756, AMD766, AMD768 and nVidia nForce 
     36   Supports AMD756, AMD766, AMD768, AMD8111 and nVidia nForce 
    3537   Note: we assume there can only be one device, with one SMBus interface. 
    3638*/ 
     
    313315}; 
    314316 
    315 enum chiptype { AMD756, AMD766, AMD768, NFORCE }; 
     317enum chiptype { AMD756, AMD766, AMD768, NFORCE, AMD8111 }; 
    316318 
    317319static struct pci_device_id amd756_ids[] __devinitdata = { 
     
    319321        {PCI_VENDOR_ID_AMD, 0x7413, PCI_ANY_ID, PCI_ANY_ID, 0, 0, AMD766 }, 
    320322        {PCI_VENDOR_ID_AMD, 0x7443, PCI_ANY_ID, PCI_ANY_ID, 0, 0, AMD768 }, 
     323        {PCI_VENDOR_ID_AMD, 0x746b, PCI_ANY_ID, PCI_ANY_ID, 0, 0, AMD8111 }, 
    321324        {PCI_VENDOR_ID_NVIDIA, 0x01B4, PCI_ANY_ID, PCI_ANY_ID, 0, 0, NFORCE }, 
    322325        { 0, } 
     
    326329                                  const struct pci_device_id *id) 
    327330{ 
    328         int nforce = (id->driver_data == NFORCE), error; 
     331        int nforce = (id->driver_data == NFORCE); 
     332        int error; 
    329333        u8 temp; 
    330334