Changeset 4623

Show
Ignore:
Timestamp:
07/18/07 22:58:12 (1 year ago)
Author:
khali
Message:

Delete many unused defines. Backport from Linux 2.6.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/kernel/busses/i2c-savage4.c

    r2802 r4623  
    2626   the BT869 and possibly other I2C devices. The DDC bus is not 
    2727   yet supported because its register is not memory-mapped. 
    28    However we leave the DDC code here, commented out, to make 
    29    it easier to add later. 
    3028*/ 
    3129 
     
    4038#include "sensors_compat.h" 
    4139 
    42 /* 3DFX defines */ 
    43 /* #define PCI_VENDOR_ID_S3             0x5333 */ 
    44 #define PCI_CHIP_SAVAGE3D       0x8A20 
    45 #define PCI_CHIP_SAVAGE3D_MV    0x8A21 
     40/* device IDs */ 
    4641#define PCI_CHIP_SAVAGE4        0x8A22 
    4742#define PCI_CHIP_SAVAGE2000     0x9102 
    48 #define PCI_CHIP_PROSAVAGE_PM   0x8A25 
    49 #define PCI_CHIP_PROSAVAGE_KM   0x8A26 
    50 #define PCI_CHIP_SAVAGE_MX_MV   0x8c10 
    51 #define PCI_CHIP_SAVAGE_MX      0x8c11 
    52 #define PCI_CHIP_SAVAGE_IX_MV   0x8c12 
    53 #define PCI_CHIP_SAVAGE_IX      0x8c13 
    5443 
    5544#define REG 0xff20      /* Serial Port 1 Register */ 
    5645 
    5746/* bit locations in the register */ 
    58 //#define DDC_ENAB      0x00040000 
    59 //#define DDC_SCL_OUT   0x00080000 
    60 //#define DDC_SDA_OUT   0x00100000 
    61 //#define DDC_SCL_IN    0x00200000 
    62 //#define DDC_SDA_IN    0x00400000 
    6347#define I2C_ENAB        0x00000020 
    6448#define I2C_SCL_OUT     0x00000001 
     
    6650#define I2C_SCL_IN      0x00000008 
    6751#define I2C_SDA_IN      0x00000010 
    68  
    69 /* initialization states */ 
    70 #define INIT2   0x20 
    71 /* #define INIT3        0x4 */ 
    7252 
    7353/* delays */