aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-02-28 21:24:34 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-02-28 21:24:34 +0000
commit5d3c2f9bf119ab82003b843e4c7c24b193a603cf (patch)
treedad3c452dfc83e0d16b6bc839b7a84d818d4c868 /target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch
parent30648516a6310e82a20de979e4755483ba4a851b (diff)
downloadmaster-187ad058-5d3c2f9bf119ab82003b843e4c7c24b193a603cf.tar.gz
master-187ad058-5d3c2f9bf119ab82003b843e4c7c24b193a603cf.tar.bz2
master-187ad058-5d3c2f9bf119ab82003b843e4c7c24b193a603cf.zip
[brcm63xx] add support for 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19921 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch b/target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch
new file mode 100644
index 0000000000..f99768536d
--- /dev/null
+++ b/target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch
@@ -0,0 +1,13 @@
+--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h
++++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h
+@@ -10,6 +10,10 @@ static inline unsigned long bcm63xx_gpio
+ switch (bcm63xx_get_cpu_id()) {
+ case BCM6358_CPU_ID:
+ return 40;
++ case BCM6338_CPU_ID:
++ return 8;
++ case BCM6345_CPU_ID:
++ return 16;
+ case BCM6348_CPU_ID:
+ default:
+ return 37;