aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-07-28 10:56:22 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-07-28 10:56:22 +0000
commit857c1028ac54332f26ffcc257c926123d4ce32f1 (patch)
tree01b8304a919292bf04f71d08334bdd5b0a9e9c87 /target/linux/ramips
parent42d3a55347f27e6da477574a0e5c1d7b69aba5a8 (diff)
downloadupstream-857c1028ac54332f26ffcc257c926123d4ce32f1.tar.gz
upstream-857c1028ac54332f26ffcc257c926123d4ce32f1.tar.bz2
upstream-857c1028ac54332f26ffcc257c926123d4ce32f1.zip
ramips: rt305x: change machine id for DIR-300
SVN-Revision: 27807
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh2
-rw-r--r--target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h2
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c2
-rw-r--r--target/linux/ramips/image/Makefile2
4 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 9e3e442c75..dc03b4755b 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -13,7 +13,7 @@ ramips_board_name() {
*"Aztech HW550-3G")
name="hw550-3g"
;;
- *"DIR-300 revB")
+ *"DIR-300 B1")
name="dir-300-b1"
;;
*"F5D8235 v2")
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
index c3f8ed3faf..acaf604736 100644
--- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
@@ -18,7 +18,7 @@ enum ramips_mach_type {
RAMIPS_MACH_WZR_AGL300NH, /* Buffalo WZR-AGL300NH */
/* RT3050 based machines */
- RAMIPS_MACH_DIR_300_REVB, /* D-Link DIR-300 rev B */
+ RAMIPS_MACH_DIR_300_B1, /* D-Link DIR-300 B1 */
/* RT3052 based machines */
RAMIPS_MACH_F5D8235_V2, /* Belkin F5D8235 v2 */
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
index 726338908e..c0167bc03a 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
@@ -120,5 +120,5 @@ static void __init dir_300b_init(void)
rt305x_register_wdt();
}
-MIPS_MACHINE(RAMIPS_MACH_DIR_300_REVB, "DIR-300-revB", "D-Link DIR-300 revB",
+MIPS_MACHINE(RAMIPS_MACH_DIR_300_B1, "DIR-300-B1", "D-Link DIR-300 B1",
dir_300b_init);
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 1d6a72aee0..e84d468609 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -110,7 +110,7 @@ define Image/Build/Template/DIR300B1
endef
define Image/Build/Profile/DIR300B1
- $(call Image/Build/Template/DIR300B1,$(1),dir-300-b1,DIR-300-revB)
+ $(call Image/Build/Template/DIR300B1,$(1),dir-300-b1,DIR-300-B1)
endef
define Image/Build/Profile/FONERA20N