aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-12-10 14:13:01 +0000
committerJohn Crispin <john@openwrt.org>2012-12-10 14:13:01 +0000
commitc2ae0ec02a548d47076a2439706ffccdc49095bf (patch)
tree474ce9a13c8dda77ae2235286bc31cc845df9627 /target/linux/ramips/base-files
parentcb9c63048dbe8f50ec6cbda1cf3a9a6e26976b34 (diff)
downloadupstream-c2ae0ec02a548d47076a2439706ffccdc49095bf.tar.gz
upstream-c2ae0ec02a548d47076a2439706ffccdc49095bf.tar.bz2
upstream-c2ae0ec02a548d47076a2439706ffccdc49095bf.zip
add support for Hauppauge Broadway
This patch introduces OpenWRT support for the base Hauppauge/PCTV Broadway platform. It doesn't deal with the TV tuner or transcoder at this point, but the core functionality is working (Ethernet, wireless, USB, buttons, LEDs, etc). Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> SVN-Revision: 34595
Diffstat (limited to 'target/linux/ramips/base-files')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network4
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
6 files changed, 13 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index d02b1e0b44..32c97fce41 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -59,6 +59,7 @@ case "$FIRMWARE" in
all5002 | \
argus-atp52b | \
bc2 | \
+ broadway | \
carambola | \
dir-615-h1 | \
dir-620-a1 | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds
index 81d9c44ea8..e444db7ceb 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/leds
@@ -28,6 +28,10 @@ case $board in
bc2)
set_usb_led "bc2:blue:usb"
;;
+ broadway)
+ set_usb_led "red:diskmounted"
+ set_wifi_led "red:wps_active"
+ ;;
dir-300-b1|\
dir-600-b1|\
dir-600-b2|\
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index dff0fd66f8..5d49923bb5 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -43,7 +43,8 @@ ramips_setup_interfaces()
case $board in
all0256n | \
- all5002)
+ all5002 | \
+ broadway)
ucidef_set_interface_lan "eth0"
;;
@@ -141,6 +142,7 @@ ramips_setup_macs()
3g-6200n | \
argus-atp52b | \
bc2 | \
+ broadway | \
f5d8235-v1 | \
nw718 | \
psr-680w | \
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index 379f74dd54..b04ec7744c 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -13,6 +13,7 @@ preinit_set_mac_address() {
ifconfig eth0 hw ether $mac 2>/dev/null
;;
bc2 |\
+ broadway |\
dir-620-a1 |\
esr-9753 |\
freestation5 |\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index abefdc5204..2d8a7e65d2 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -110,6 +110,9 @@ ramips_board_name() {
*"F5D8235 v2")
name="f5d8235-v2"
;;
+ *"Hauppauge Broadway")
+ name="broadway"
+ ;;
*"La Fonera 2.0N")
name="fonera20n"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 1acbbffa4f..2ec4749f9f 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -19,6 +19,7 @@ platform_check_image() {
all0256n | \
all5002 | \
bc2 | \
+ broadway | \
carambola | \
dir-300-b1 | \
dir-600-b1 | \