Backport SMBus PEC support rewrite from Linux 2.6:

The new SMBus PEC implementation doesn't support PEC emulation on
non-PEC non-I2C SMBus masters, so we can drop all related code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3177 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2005-11-05 17:11:47 +00:00
1 parent c12c82c13d
commit 5467346e7b
4 files changed
+5 -28

No files matched your search

-7
View File
@@ -208,13 +208,6 @@ s32 nforce2_access(struct i2c_adapter * adap, u16 addr, unsigned short flags,
printk(KERN_WARNING "i2c-nforce2.o: I2C_SMBUS_BLOCK_PROC_CALL not supported!\n");
return -1;
case I2C_SMBUS_WORD_DATA_PEC:
case I2C_SMBUS_BLOCK_DATA_PEC:
case I2C_SMBUS_PROC_CALL_PEC:
case I2C_SMBUS_BLOCK_PROC_CALL_PEC:
printk(KERN_WARNING "i2c-nforce2.c: Unexpected software PEC transaction %d\n.", size);
return -1;
default:
printk(KERN_WARNING "i2c-nforce2.c: Unsupported transaction %d\n", size);
return -1;