[patch 1/4] 2.4.20-pre2 i2c updates

Albert Cranford (ac9410@attbi.com)
Tue, 13 Aug 2002 01:49:07 -0400


Hello Marcelo,
Please apply the following four tested patches that update
2.4.20-pre2 with these I2C changes:
o Support for SMBus 2.0 PEC Packet Error Checking
o New adapter-i2c-frodo for SA 1110 board
o New adapter-i2c-rpx for embeded MPC8XX
o Remove compat code for < 2.4
o Replace cli()&sti() with spin_{un}lock_irq()
o Updated documentation
Thanks,
Albert
--- linux/drivers/i2c/Config.in.orig 2002-07-23 01:47:14.000000000 -0400
+++ linux/drivers/i2c/Config.in 2002-07-23 01:47:14.000000000 -0400
@@ -32,10 +32,10 @@
dep_tristate ' Embedded Planet RPX Lite/Classic suppoort' CONFIG_I2C_RPXLITE $CONFIG_I2C_ALGO8XX
fi
fi
- if [ "$CONFIG_405" = "y" ]; then
- dep_tristate 'PPC 405 I2C Algorithm' CONFIG_I2C_PPC405_ALGO $CONFIG_I2C
- if [ "$CONFIG_I2C_PPC405_ALGO" != "n" ]; then
- dep_tristate ' PPC 405 I2C Adapter' CONFIG_I2C_PPC405_ADAP $CONFIG_I2C_PPC405_ALGO
+ if [ "$CONFIG_IBM_OCP" = "y" ]; then
+ dep_tristate 'IBM on-chip I2C Algorithm' CONFIG_I2C_IBM_OCP_ALGO $CONFIG_I2C
+ if [ "$CONFIG_I2C_IBM_OCP_ALGO" != "n" ]; then
+ dep_tristate ' IBM on-chip I2C Adapter' CONFIG_I2C_IBM_OCP_ADAP $CONFIG_I2C_IBM_OCP_ALGO
fi
fi

@@ -47,7 +47,7 @@
# This is needed for automatic patch generation: sensors code ends here

dep_tristate 'I2C device interface' CONFIG_I2C_CHARDEV $CONFIG_I2C
- dep_tristate 'I2C /proc interface (required for hardware sensors)' CONFIG_I2C_PROC $CONFIG_I2C
+ dep_tristate 'I2C /proc interface (required for hardware sensors)' CONFIG_I2C_PROC $CONFIG_I2C $CONFIG_SYSCTL

fi
endmenu

-- 
Albert Cranford Deerfield Beach FL USA
ac9410@bellsouth.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/