Since there seem to be both a revision C2 and a revision C3 of the D-Link
DSL-274xB out there, and the only difference between them is the board id
(the revision C3 has its own unique one, while the C2's is shared with 
other devices) it makes sense to fixup the C2's to that of the C3.

Since the board ID is rather cryptic we should keep the old image name, 
so I extended the CFEFIXUP with an additional paramter to explicitly set
the new board ID and don't just use the image name.

As a third step, to make the patches more upstream presentable I renamed 
the LEDs to match the kernel naming conventions. Since this screws up the 
power LED detection, I changed it to just accept anything containing 
"power" in its name.


Jonas Gorski (3):
  bcm63xx: Decouple Board ID and image name for fixup
  bcm63xx: Accept any led with power in its name as power led
  bcm63xx: Update support for the DSL-274xB revision C

 .../base-files/etc/defconfig/96358GW/network       |   14 ----
 .../base-files/etc/defconfig/AW4139/network        |   14 ++++
 target/linux/brcm63xx/base-files/etc/diag.sh       |    2 +-
 target/linux/brcm63xx/base-files/lib/brcm63xx.sh   |    7 ++-
 target/linux/brcm63xx/image/Makefile               |   22 ++++---
 .../patches-2.6.37/400-board_96358gw.patch         |   70 --------------------
 .../patches-2.6.37/400-board_dsl_274xb_rev_c.patch |   70 ++++++++++++++++++++
 7 files changed, 103 insertions(+), 96 deletions(-)
 delete mode 100644 
target/linux/brcm63xx/base-files/etc/defconfig/96358GW/network
 create mode 100644 
target/linux/brcm63xx/base-files/etc/defconfig/AW4139/network
 delete mode 100644 target/linux/brcm63xx/patches-2.6.37/400-board_96358gw.patch
 create mode 100644 
target/linux/brcm63xx/patches-2.6.37/400-board_dsl_274xb_rev_c.patch

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to