From 3811c42566713110556caf8f097bc18acf0d0924 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 14 Jul 2014 22:03:59 +0000 Subject: brcm47xx: improve board detection for some devices Signed-off-by: Hauke Mehrtens git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41662 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...IPS-BCM47XX-fix-detection-of-Asus-RT-N10D.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 target/linux/brcm47xx/patches-3.10/147-MIPS-BCM47XX-fix-detection-of-Asus-RT-N10D.patch (limited to 'target/linux/brcm47xx/patches-3.10/147-MIPS-BCM47XX-fix-detection-of-Asus-RT-N10D.patch') diff --git a/target/linux/brcm47xx/patches-3.10/147-MIPS-BCM47XX-fix-detection-of-Asus-RT-N10D.patch b/target/linux/brcm47xx/patches-3.10/147-MIPS-BCM47XX-fix-detection-of-Asus-RT-N10D.patch new file mode 100644 index 0000000000..8308667fd3 --- /dev/null +++ b/target/linux/brcm47xx/patches-3.10/147-MIPS-BCM47XX-fix-detection-of-Asus-RT-N10D.patch @@ -0,0 +1,22 @@ +From 3d0704e7d371ea3ea5c8fe5bd796f5f15d44da59 Mon Sep 17 00:00:00 2001 +From: Hauke Mehrtens +Date: Sat, 12 Jul 2014 18:01:32 +0200 +Subject: [PATCH 3/5] MIPS: BCM47XX: fix detection of Asus RT-N10D + +Sometimes we do not have a productid, but only a hardware_version. + +Signed-off-by: Hauke Mehrtens +--- + arch/mips/bcm47xx/board.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/arch/mips/bcm47xx/board.c ++++ b/arch/mips/bcm47xx/board.c +@@ -57,6 +57,7 @@ struct bcm47xx_board_type_list1 bcm47xx_ + static const + struct bcm47xx_board_type_list1 bcm47xx_board_list_hardware_version[] __initconst = { + {{BCM47XX_BOARD_ASUS_RTN10U, "Asus RT-N10U"}, "RTN10U"}, ++ {{BCM47XX_BOARD_ASUS_RTN10D, "Asus RT-N10D"}, "RTN10D"}, + {{BCM47XX_BOARD_ASUS_RTN12, "Asus RT-N12"}, "RT-N12"}, + {{BCM47XX_BOARD_ASUS_RTN12B1, "Asus RT-N12B1"}, "RTN12B1"}, + {{BCM47XX_BOARD_ASUS_RTN12C1, "Asus RT-N12C1"}, "RTN12C1"}, -- cgit v1.2.3