Changeset 37989


Ignore:
Timestamp:
2013-09-14T18:19:21+02:00 (4 years ago)
Author:
hauke
Message:

brcm47xx: detect Asus RT-N10

Signed-off-by: Hauke Mehrtens <hauke@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/patches-3.10/260-MIPS-BCM47XX-add-board-detection.patch

    r37977 r37989  
    99--- /dev/null 
    1010+++ b/arch/mips/bcm47xx/board.c 
    11 @@ -0,0 +1,242 @@ 
     11@@ -0,0 +1,243 @@ 
    1212+#include <linux/export.h> 
    1313+#include <linux/string.h> 
     
    6060+static const struct bcm47xx_board_type_list bcm47xx_board_list_productid[] = { 
    6161+       {{BCM47XX_BOARD_ASUS_RTAC66U, "Asus RT-AC66U"}, "RT-AC66U",}, 
     62+       {{BCM47XX_BOARD_ASUS_RTN10, "Asus RT-N10"}, "RT-N10",}, 
    6263+       {{BCM47XX_BOARD_ASUS_RTN10D, "Asus RT-N10D"}, "RT-N10D",}, 
    6364+       {{BCM47XX_BOARD_ASUS_RTN10U, "Asus RT-N10U"}, "RT-N10U",}, 
     
    254255--- /dev/null 
    255256+++ b/arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h 
    256 @@ -0,0 +1,99 @@ 
     257@@ -0,0 +1,100 @@ 
    257258+#ifndef __BCM47XX_BOARD_H 
    258259+#define __BCM47XX_BOARD_H 
     
    260261+enum bcm47xx_board { 
    261262+       BCM47XX_BOARD_ASUS_RTAC66U, 
     263+       BCM47XX_BOARD_ASUS_RTN10, 
    262264+       BCM47XX_BOARD_ASUS_RTN10D, 
    263265+       BCM47XX_BOARD_ASUS_RTN10U, 
Note: See TracChangeset for help on using the changeset viewer.