Forgot to add the i2c id, grr
authorFlorian Fainelli <florian@openwrt.org>
Thu, 28 Dec 2006 16:32:15 +0000 (16:32 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 28 Dec 2006 16:32:15 +0000 (16:32 +0000)
SVN-Revision: 5918

target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch

index 52d7102..0be9ac3 100644 (file)
@@ -454,3 +454,16 @@ diff -urN linux-2.6.19/drivers/i2c/busses/i2c-au1x00gpio.c linux-2.6.19.new/driv
 +      i2c_bit_au1x00gpio_exit();
 +}
 +#endif
+diff -urN linux-2.6.19/include/linux/i2c-id.h linux-2.6.19.new/include/linux/i2c-id.h
+--- linux-2.6.19/include/linux/i2c-id.h        2006-11-29 22:57:37.000000000 +0100
++++ linux-2.6.19.new/include/linux/i2c-id.h    2006-12-28 03:12:15.000000000 +0100
+@@ -231,6 +231,9 @@
+ /* --- Au1550 PSC adapters adapters                                   */
+ #define I2C_HW_AU1550_PSC     0x1b0000
++/* --- Au1x00 i2c GPIO adapter                                                */
++#define I2C_HW_B_AU1x00GPIO 0x1b
++
+ /* --- SMBus only adapters                                            */
+ #define I2C_HW_SMBUS_PIIX4    0x040000
+ #define I2C_HW_SMBUS_ALI15X3  0x040001