Changeset 4623
- Timestamp:
- 07/18/07 22:58:12 (6 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/kernel/busses/i2c-savage4.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/busses/i2c-savage4.c
r2802 r4623 26 26 the BT869 and possibly other I2C devices. The DDC bus is not 27 27 yet supported because its register is not memory-mapped. 28 However we leave the DDC code here, commented out, to make29 it easier to add later.30 28 */ 31 29 … … 40 38 #include "sensors_compat.h" 41 39 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 */ 46 41 #define PCI_CHIP_SAVAGE4 0x8A22 47 42 #define PCI_CHIP_SAVAGE2000 0x9102 48 #define PCI_CHIP_PROSAVAGE_PM 0x8A2549 #define PCI_CHIP_PROSAVAGE_KM 0x8A2650 #define PCI_CHIP_SAVAGE_MX_MV 0x8c1051 #define PCI_CHIP_SAVAGE_MX 0x8c1152 #define PCI_CHIP_SAVAGE_IX_MV 0x8c1253 #define PCI_CHIP_SAVAGE_IX 0x8c1354 43 55 44 #define REG 0xff20 /* Serial Port 1 Register */ 56 45 57 46 /* bit locations in the register */ 58 //#define DDC_ENAB 0x0004000059 //#define DDC_SCL_OUT 0x0008000060 //#define DDC_SDA_OUT 0x0010000061 //#define DDC_SCL_IN 0x0020000062 //#define DDC_SDA_IN 0x0040000063 47 #define I2C_ENAB 0x00000020 64 48 #define I2C_SCL_OUT 0x00000001 … … 66 50 #define I2C_SCL_IN 0x00000008 67 51 #define I2C_SDA_IN 0x00000010 68 69 /* initialization states */70 #define INIT2 0x2071 /* #define INIT3 0x4 */72 52 73 53 /* delays */
