brcm47xx: detect Asus RT-N10
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 14 Sep 2013 16:19:21 +0000 (16:19 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 14 Sep 2013 16:19:21 +0000 (16:19 +0000)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37989

target/linux/brcm47xx/patches-3.10/260-MIPS-BCM47XX-add-board-detection.patch

index f6739103476bea9f1aa10bc969f6b395c6a029fe..2ab99c5903f5a95a7882112ae35a8ced9f955452 100644 (file)
@@ -8,7 +8,7 @@
  obj-$(CONFIG_BCM47XX_SSB)     += wgt634u.o
 --- /dev/null
 +++ b/arch/mips/bcm47xx/board.c
-@@ -0,0 +1,242 @@
+@@ -0,0 +1,243 @@
 +#include <linux/export.h>
 +#include <linux/string.h>
 +#include <bcm47xx_board.h>
@@ -59,6 +59,7 @@
 +
 +static const struct bcm47xx_board_type_list bcm47xx_board_list_productid[] = {
 +      {{BCM47XX_BOARD_ASUS_RTAC66U, "Asus RT-AC66U"}, "RT-AC66U",},
++      {{BCM47XX_BOARD_ASUS_RTN10, "Asus RT-N10"}, "RT-N10",},
 +      {{BCM47XX_BOARD_ASUS_RTN10D, "Asus RT-N10D"}, "RT-N10D",},
 +      {{BCM47XX_BOARD_ASUS_RTN10U, "Asus RT-N10U"}, "RT-N10U",},
 +      {{BCM47XX_BOARD_ASUS_RTN12, "Asus RT-N12"}, "RT-N12",},
 +EXPORT_SYMBOL(bcm47xx_board_get_name);
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h
-@@ -0,0 +1,99 @@
+@@ -0,0 +1,100 @@
 +#ifndef __BCM47XX_BOARD_H
 +#define __BCM47XX_BOARD_H
 +
 +enum bcm47xx_board {
 +      BCM47XX_BOARD_ASUS_RTAC66U,
++      BCM47XX_BOARD_ASUS_RTN10,
 +      BCM47XX_BOARD_ASUS_RTN10D,
 +      BCM47XX_BOARD_ASUS_RTN10U,
 +      BCM47XX_BOARD_ASUS_RTN12,