brcm47xx: add board detection for NETGEAR WNDR4500 V2
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 28 Apr 2013 18:19:31 +0000 (18:19 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 28 Apr 2013 18:19:31 +0000 (18:19 +0000)
SVN-Revision: 36478

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

index 08c0a979aef0c1c1c0777659faea169ec0fff463..3149855bf4ecd267de99291c6e562b0444add267 100644 (file)
@@ -8,7 +8,7 @@
  obj-$(CONFIG_BCM47XX_SSB)     += wgt634u.o
 --- /dev/null
 +++ b/arch/mips/bcm47xx/board.c
-@@ -0,0 +1,222 @@
+@@ -0,0 +1,223 @@
 +#include <linux/export.h>
 +#include <linux/string.h>
 +#include <bcm47xx_board.h>
 +      {{BCM47XX_BOARD_NETGEAR_WNDR3400VCNA, "Netgear WNDR3400 Vcna"}, "U12H155T01_NETGEAR",},
 +      {{BCM47XX_BOARD_NETGEAR_WNDR3700V3, "Netgear WNDR3700 V3"}, "U12H194T00_NETGEAR",},
 +      {{BCM47XX_BOARD_NETGEAR_WNDR4000, "Netgear WNDR4000"}, "U12H181T00_NETGEAR",},
-+      {{BCM47XX_BOARD_NETGEAR_WNDR4500, "Netgear WNDR4500"}, "U12H189T00_NETGEAR",},
++      {{BCM47XX_BOARD_NETGEAR_WNDR4500V1, "Netgear WNDR4500 V1"}, "U12H189T00_NETGEAR",},
++      {{BCM47XX_BOARD_NETGEAR_WNDR4500V2, "Netgear WNDR4500 V2"}, "U12H224T00_NETGEAR",},
 +      {{BCM47XX_BOARD_NETGEAR_WNR2000, "Netgear WNR2000"}, "U12H114T00_NETGEAR",},
 +      {{BCM47XX_BOARD_NETGEAR_WNR3500L, "Netgear WNR3500L"}, "U12H136T99_NETGEAR",},
 +      {{BCM47XX_BOARD_NETGEAR_WNR3500U, "Netgear WNR3500U"}, "U12H136T00_NETGEAR",},
 +EXPORT_SYMBOL(bcm47xx_board_get_name);
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h
-@@ -0,0 +1,90 @@
+@@ -0,0 +1,91 @@
 +#ifndef __BCM47XX_BOARD_H
 +#define __BCM47XX_BOARD_H
 +
 +      BCM47XX_BOARD_NETGEAR_WNDR3400VCNA,
 +      BCM47XX_BOARD_NETGEAR_WNDR3700V3,
 +      BCM47XX_BOARD_NETGEAR_WNDR4000,
-+      BCM47XX_BOARD_NETGEAR_WNDR4500,
++      BCM47XX_BOARD_NETGEAR_WNDR4500V1,
++      BCM47XX_BOARD_NETGEAR_WNDR4500V2,
 +      BCM47XX_BOARD_NETGEAR_WNR2000,
 +      BCM47XX_BOARD_NETGEAR_WNR3500L,
 +      BCM47XX_BOARD_NETGEAR_WNR3500U,
index 08c0a979aef0c1c1c0777659faea169ec0fff463..3149855bf4ecd267de99291c6e562b0444add267 100644 (file)
@@ -8,7 +8,7 @@
  obj-$(CONFIG_BCM47XX_SSB)     += wgt634u.o
 --- /dev/null
 +++ b/arch/mips/bcm47xx/board.c
-@@ -0,0 +1,222 @@
+@@ -0,0 +1,223 @@
 +#include <linux/export.h>
 +#include <linux/string.h>
 +#include <bcm47xx_board.h>
 +      {{BCM47XX_BOARD_NETGEAR_WNDR3400VCNA, "Netgear WNDR3400 Vcna"}, "U12H155T01_NETGEAR",},
 +      {{BCM47XX_BOARD_NETGEAR_WNDR3700V3, "Netgear WNDR3700 V3"}, "U12H194T00_NETGEAR",},
 +      {{BCM47XX_BOARD_NETGEAR_WNDR4000, "Netgear WNDR4000"}, "U12H181T00_NETGEAR",},
-+      {{BCM47XX_BOARD_NETGEAR_WNDR4500, "Netgear WNDR4500"}, "U12H189T00_NETGEAR",},
++      {{BCM47XX_BOARD_NETGEAR_WNDR4500V1, "Netgear WNDR4500 V1"}, "U12H189T00_NETGEAR",},
++      {{BCM47XX_BOARD_NETGEAR_WNDR4500V2, "Netgear WNDR4500 V2"}, "U12H224T00_NETGEAR",},
 +      {{BCM47XX_BOARD_NETGEAR_WNR2000, "Netgear WNR2000"}, "U12H114T00_NETGEAR",},
 +      {{BCM47XX_BOARD_NETGEAR_WNR3500L, "Netgear WNR3500L"}, "U12H136T99_NETGEAR",},
 +      {{BCM47XX_BOARD_NETGEAR_WNR3500U, "Netgear WNR3500U"}, "U12H136T00_NETGEAR",},
 +EXPORT_SYMBOL(bcm47xx_board_get_name);
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h
-@@ -0,0 +1,90 @@
+@@ -0,0 +1,91 @@
 +#ifndef __BCM47XX_BOARD_H
 +#define __BCM47XX_BOARD_H
 +
 +      BCM47XX_BOARD_NETGEAR_WNDR3400VCNA,
 +      BCM47XX_BOARD_NETGEAR_WNDR3700V3,
 +      BCM47XX_BOARD_NETGEAR_WNDR4000,
-+      BCM47XX_BOARD_NETGEAR_WNDR4500,
++      BCM47XX_BOARD_NETGEAR_WNDR4500V1,
++      BCM47XX_BOARD_NETGEAR_WNDR4500V2,
 +      BCM47XX_BOARD_NETGEAR_WNR2000,
 +      BCM47XX_BOARD_NETGEAR_WNR3500L,
 +      BCM47XX_BOARD_NETGEAR_WNR3500U,