2002-08-13 05:45:23

by Albert Cranford

[permalink] [raw]
Subject: [patch 1/4] 2.4.20-pre2 i2c updates

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
[email protected]