Просмотр исходного кода

Add updated support for buffalo routers (#1874)

SVN-Revision: 7585
Florian Fainelli 18 лет назад
Родитель
Сommit
4f1ed37138
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      package/broadcom-diag/src/diag.c

+ 3 - 0
package/broadcom-diag/src/diag.c

@@ -305,6 +305,7 @@ static struct platform_t __initdata platforms[] = {
 			{ .name = "internal",	.gpio = 1 << 3, .polarity = REVERSE },
 			{ .name = "ses",	.gpio = 1 << 6, .polarity = REVERSE },
 			{ .name = "bridge",	.gpio = 1 << 1, .polarity = REVERSE },
+			{ .name = "wlan",	.gpio = 1 << 2, .polarity = REVERSE },
 		},
 	},
 	[WBR2_G54] = {
@@ -326,8 +327,10 @@ static struct platform_t __initdata platforms[] = {
 		},
 		.leds		= {
 			{ .name = "diag",	.gpio = 1 << 7, .polarity = REVERSE },
+			{ .name = "internal",	.gpio = 1 << 3, .polarity = REVERSE },
 			{ .name = "bridge",	.gpio = 1 << 1, .polarity = REVERSE },
 			{ .name = "ses",	.gpio = 1 << 6, .polarity = REVERSE },
+			{ .name = "wlan",	.gpio = 1 << 2, .polarity = REVERSE },
 		},
 	},
 	[WHR2_A54G54] = {