Changeset 583
- Timestamp:
- 09/27/99 15:49:29 (14 years ago)
- Location:
- lm-sensors/trunk/kernel/busses
- Files:
-
- 6 modified
-
i2c-ali15x3.c (modified) (3 diffs)
-
i2c-i801.c (modified) (3 diffs)
-
i2c-isa.c (modified) (3 diffs)
-
i2c-piix4.c (modified) (3 diffs)
-
i2c-viapro.c (modified) (3 diffs)
-
i2c-voodoo3.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/busses/i2c-ali15x3.c
r516 r583 165 165 static void ali15x3_inc(struct i2c_adapter *adapter); 166 166 static void ali15x3_dec(struct i2c_adapter *adapter); 167 static u32 ali15x3_func(struct i2c_adapter *adapter); 167 168 168 169 #ifdef MODULE … … 179 180 /* slave_rcv */ NULL, 180 181 /* algo_control */ NULL, 182 /* functionality */ ali15x3_func, 181 183 }; 182 184 … … 611 613 } 612 614 615 u32 ali15x3_func(struct i2c_adapter *adapter) 616 { 617 return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | 618 I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA | 619 I2C_FUNC_SMBUS_BLOCK_DATA; 620 } 621 613 622 int __init i2c_ali15x3_init(void) 614 623 { -
lm-sensors/trunk/kernel/busses/i2c-i801.c
r545 r583 95 95 static void i801_inc(struct i2c_adapter *adapter); 96 96 static void i801_dec(struct i2c_adapter *adapter); 97 static u32 i801_func(struct i2c_adapter *adapter); 97 98 98 99 #ifdef MODULE … … 109 110 /* slave_rcv */ NULL, 110 111 /* algo_control */ NULL, 112 /* functionality */ i801_func, 111 113 }; 112 114 … … 560 562 } 561 563 564 u32 i801_func(struct i2c_adapter *adapter) 565 { 566 return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | 567 I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA | 568 I2C_FUNC_SMBUS_BLOCK_DATA; 569 } 570 562 571 int __init i2c_i801_init(void) 563 572 { -
lm-sensors/trunk/kernel/busses/i2c-isa.c
r563 r583 44 44 static void isa_inc_use (struct i2c_adapter *adapter); 45 45 static void isa_dec_use (struct i2c_adapter *adapter); 46 static u32 isa_func(struct i2c_adapter *adapter); 46 47 47 48 #ifdef MODULE … … 63 64 /* id */ I2C_ALGO_ISA, 64 65 /* master_xfer */ NULL, 66 /* smbus_access */ NULL, 65 67 /* slave_send */ NULL, 66 68 /* slave_rcv */ NULL, 67 69 /* algo_control */ NULL, 70 /* functionality */ &isa_func, 68 71 }; 69 72 … … 95 98 MOD_DEC_USE_COUNT; 96 99 #endif 100 } 101 102 /* We can't do a thing... */ 103 static u32 isa_func(struct i2c_adapter *adapter) 104 { 105 return 0; 97 106 } 98 107 -
lm-sensors/trunk/kernel/busses/i2c-piix4.c
r558 r583 106 106 static void piix4_inc(struct i2c_adapter *adapter); 107 107 static void piix4_dec(struct i2c_adapter *adapter); 108 static u32 piix4_func(struct i2c_adapter *adapter); 108 109 109 110 #ifdef MODULE … … 120 121 /* slave_rcv */ NULL, 121 122 /* algo_control */ NULL, 123 /* functionality */ piix4_func, 122 124 }; 123 125 … … 447 449 } 448 450 451 u32 piix4_func(struct i2c_adapter *adapter) 452 { 453 return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | 454 I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA | 455 I2C_FUNC_SMBUS_BLOCK_DATA | I2C_FUNC_SMBUS_PROC_CALL; 456 } 457 449 458 int __init i2c_piix4_init(void) 450 459 { -
lm-sensors/trunk/kernel/busses/i2c-viapro.c
r522 r583 123 123 static void vt596_inc(struct i2c_adapter *adapter); 124 124 static void vt596_dec(struct i2c_adapter *adapter); 125 static u32 vt596_func(struct i2c_adapter *adapter); 125 126 126 127 #ifdef MODULE … … 137 138 /* slave_rcv */ NULL, 138 139 /* algo_control */ NULL, 140 /* functionality */ vt596_func, 139 141 }; 140 142 … … 484 486 } 485 487 488 u32 vt596_func(struct i2c_adapter *adapter) 489 { 490 return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | 491 I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA | 492 I2C_FUNC_SMBUS_BLOCK_DATA; 493 } 494 486 495 int __init i2c_vt596_init(void) 487 496 { -
lm-sensors/trunk/kernel/busses/i2c-voodoo3.c
r578 r583 85 85 static void voodoo3_inc(struct i2c_adapter *adapter); 86 86 static void voodoo3_dec(struct i2c_adapter *adapter); 87 static u32 voodoo3_func(struct i2c_adapter *adapter); 87 88 88 89 #ifdef MODULE … … 99 100 /* slave_rcv */ NULL, 100 101 /* algo_control */ NULL, 102 /* functionality */ voodoo3_func, 101 103 }; 102 104 … … 528 530 } 529 531 532 u32 voodoo3_func(struct i2c_adapter *adapter) 533 { 534 return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | 535 I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA; 536 } 537 530 538 int __init i2c_voodoo3_init(void) 531 539 {
