[ar7] make adm6996 switches work on tnetd7200 and tnetd7300
[openwrt.git] / target / linux / brcm63xx / patches-2.6.33 / 160-fix_gpio_count.patch
1 --- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h
2 +++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h
3 @@ -10,6 +10,10 @@ static inline unsigned long bcm63xx_gpio
4 switch (bcm63xx_get_cpu_id()) {
5 case BCM6358_CPU_ID:
6 return 40;
7 + case BCM6338_CPU_ID:
8 + return 8;
9 + case BCM6345_CPU_ID:
10 + return 16;
11 case BCM6348_CPU_ID:
12 default:
13 return 37;
This page took 0.063855 seconds and 5 git commands to generate.