This adds support for Comtrend 5365. I'm sending this again due to the removal 
of kernel 2.6.39 support.
5/5 (originally 5/4 -> kernel 3.3 was added after patch submission): Kernel 
v3.3-rc2
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>

Index: target/linux/brcm63xx/patches-3.3/200-extended-platform-devices.patch
===================================================================
--- target/linux/brcm63xx/patches-3.3/200-extended-platform-devices.patch       
(revisión: 30344)
+++ target/linux/brcm63xx/patches-3.3/200-extended-platform-devices.patch       
(copia de trabajo)
@@ -15,7 +15,7 @@
 @@ -62,6 +62,10 @@ struct board_info {
  
        /* Buttons */
-       struct gpio_button buttons[2];
+       struct gpio_button buttons[4];
 +
 +      /* Additional platform devices */
 +      struct platform_device **devs;
Index: target/linux/brcm63xx/patches-3.3/457-board_96348A-122.patch
===================================================================
--- target/linux/brcm63xx/patches-3.3/457-board_96348A-122.patch        
(revisión: 0)
+++ target/linux/brcm63xx/patches-3.3/457-board_96348A-122.patch        
(revisión: 0)
@@ -0,0 +1,78 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -1010,6 +1010,67 @@
+       },
+ };
+ 
++static struct board_info __initdata board_96348A_122 = {
++      .name                           = "96348A-122",
++      .expected_cpu_id                = 0x6348,
++
++      .has_uart0                      = 1,
++      .has_enet1                      = 1,
++      .has_pci                        = 1,
++
++      .enet1 = {
++              .force_speed_100        = 1,
++              .force_duplex_full      = 1,
++      },
++
++      .has_ohci0 = 1,
++
++      .leds = {
++              {
++                      .name           = "power",
++                      .gpio           = 0,
++                      .active_low     = 1,
++                      .default_trigger = "default-on",
++              },
++              {
++                      .name           = "alarm",
++                      .gpio           = 2,
++                      .active_low     = 1,
++              },
++              {
++                      .name           = "wps",
++                      .gpio           = 6,
++                      .active_low     = 1,
++              },
++      },
++      .buttons = {
++              {
++                      .desc           = "reset",
++                      .gpio           = 33,
++                      .active_low     = 1,
++                      .type           = EV_KEY,
++                      .code           = KEY_RESTART,
++                      .threshold      = 3,
++              },
++              {
++                      .desc           = "wifi",
++                      .gpio           = 34,
++                      .active_low     = 1,
++                      .type           = EV_KEY,
++                      .code           = BTN_0,
++                      .threshold      = 3,
++              },
++              {
++                      .desc           = "wps",
++                      .gpio           = 35,
++                      .active_low     = 1,
++                      .type           = EV_KEY,
++                      .code           = KEY_WPS_BUTTON,
++                      .threshold      = 3,
++              },
++      },
++};
++
+ #endif
+ 
+ /*
+@@ -2069,6 +2130,7 @@
+       &board_V2500V_BB,
+       &board_V2110,
+       &board_ct536_ct5621,
++      &board_96348A_122,
+ #endif
+ 
+ #ifdef CONFIG_BCM63XX_CPU_6358

Cambios de propiedades en 
target/linux/brcm63xx/patches-3.3/457-board_96348A-122.patch
___________________________________________________________________
Añadido: svn:executable
   + *

Index: target/linux/brcm63xx/patches-3.3/100-reset_buttons.patch
===================================================================
--- target/linux/brcm63xx/patches-3.3/100-reset_buttons.patch   (revisión: 
30344)
+++ target/linux/brcm63xx/patches-3.3/100-reset_buttons.patch   (copia de 
trabajo)
@@ -100,7 +100,7 @@
        struct gpio_led leds[5];
 +
 +      /* Buttons */
-+      struct gpio_button buttons[2];
++      struct gpio_button buttons[4];
  };
  
  #endif /* ! BOARD_BCM963XX_H_ */
Index: target/linux/brcm63xx/patches-3.3/977-ssb_export_fallback_sprom.patch
===================================================================
--- target/linux/brcm63xx/patches-3.3/977-ssb_export_fallback_sprom.patch       
(revisión: 30344)
+++ target/linux/brcm63xx/patches-3.3/977-ssb_export_fallback_sprom.patch       
(copia de trabajo)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2109,7 +2109,7 @@ static void __init nb4_nvram_fixup(void)
+@@ -2171,7 +2171,7 @@ static void __init nb4_nvram_fixup(void)
   * bcm4318 WLAN work
   */
  #ifdef CONFIG_SSB_PCIHOST
@@ -9,7 +9,7 @@
        .revision               = 0x02,
        .board_rev              = 0x17,
        .country_code           = 0x0,
-@@ -2129,6 +2129,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -2191,6 +2191,7 @@ static struct ssb_sprom bcm63xx_sprom =
        .boardflags_lo          = 0x2848,
        .boardflags_hi          = 0x0000,
  };
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to