summaryrefslogtreecommitdiff
path: root/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-28 16:32:15 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-28 16:32:15 +0000
commit7b49940892fb80b3040091b4542813908112c179 (patch)
tree1223345a1c73134f7a5318e8a2ebacbac82a5223 /target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch
parenta608eacfdee2c7e48910a21cdfd1f23ae85b27ed (diff)
Forgot to add the i2c id, grr
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5918 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch')
-rw-r--r--target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch b/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch
index 52d71023c8..0be9ac3d6a 100644
--- a/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch
+++ b/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch
@@ -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