On 8 October 2012 15:33, Daniel <dgcb...@gmail.com> wrote: > - Added the buttons for this bcm6358 board. > - The internal phy is unused in this board, deleted. > patch made against current AA
Better, but still not 100%. > > Signed-off-by: danitool This is not a valid Signed-off-by; it has to include your real name and your email address. Also please send as plain text - this time patchwork didn't even detect this as a patch. (Quoted printable seems to be properly converted, so it seems the previous try works for now). Jonas > Index: target/linux/brcm63xx/patches-3.3/508-board_hw553.patch > =================================================================== > --- target/linux/brcm63xx/patches-3.3/508-board_hw553.patch (revisión: > 33660) > +++ target/linux/brcm63xx/patches-3.3/508-board_hw553.patch (copia de > trabajo) > @@ -1,6 +1,6 @@ > --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c > +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c > -@@ -1666,6 +1666,80 @@ static struct board_info __initdata boar > +@@ -1666,6 +1666,92 @@ > .spis = nb4_spi_devices, > .num_spis = ARRAY_SIZE(nb4_spi_devices), > }; > @@ -11,15 +11,9 @@ > + > + .has_uart0 = 1, > + > -+ .has_enet0 = 1, > + .has_enet1 = 1, > + .has_pci = 1, > + > -+ .enet0 = { > -+ .has_phy = 1, > -+ .use_internal_phy = 1, > -+ }, > -+ > + .enet1 = { > + .force_speed_100 = 1, > + .force_duplex_full = 1, > @@ -77,11 +71,29 @@ > + .active_low = 1, > + }, > + }, > ++ .buttons = { > ++ { > ++ .desc = "reset", > ++ .gpio = 37, > ++ .type = EV_KEY, > ++ .code = KEY_RESTART, > ++ .active_low = 1, > ++ .debounce_interval = > BCM963XX_KEYS_DEBOUNCE_INTERVAL, > ++ }, > ++ { > ++ .desc = "wps", > ++ .gpio = 9, > ++ .type = EV_KEY, > ++ .code = KEY_WPS_BUTTON, > ++ .active_low = 1, > ++ .debounce_interval = > BCM963XX_KEYS_DEBOUNCE_INTERVAL, > ++ }, > ++ }, > +}; > #endif > > /* > -@@ -1708,6 +1782,7 @@ static const struct board_info __initdat > +@@ -1708,6 +1794,7 @@ > &board_nb4_ser_r2, > &board_nb4_fxc_r1, > &board_nb4_fxc_r2, > > Index: target/linux/brcm63xx/base-files/lib/brcm63xx.sh > =================================================================== > --- target/linux/brcm63xx/base-files/lib/brcm63xx.sh (revisión: 33660) > +++ target/linux/brcm63xx/base-files/lib/brcm63xx.sh (copia de trabajo) > @@ -82,6 +82,11 @@ > brcm63xx_has_reset_button="true" > ifname=eth0 > ;; > + HW553) > + status_led="HW553:red:power" > + brcm63xx_has_reset_button="true" > + ifname=eth0 > + ;; > NB6) > brcm63xx_has_reset_button="true" > ifname=eth0 > > Index: target/linux/brcm63xx/base-files/etc/uci-defaults/network > =================================================================== > --- target/linux/brcm63xx/base-files/etc/uci-defaults/network (revisión: > 33660) > +++ target/linux/brcm63xx/base-files/etc/uci-defaults/network (copia de > trabajo) > @@ -19,6 +19,7 @@ > 96348A-122 |\ > 96358-502V |\ > CT6373-1 |\ > +HW553 |\ > AW4339U |\ > CPVA642 |\ > CT536_CT5621 |\ > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel