Author: blogic Date: 2015-12-17 10:28:42 +0100 (Thu, 17 Dec 2015) New Revision: 47920
Modified: trunk/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c Log: cns3xxx: add GW2393 Support Based off of the GW2391-C, but with the following changes: * 4x4in to 4x5in pcb * flat panel connector for LED signals Signed-off-by: Tim Harvey <[email protected]> Signed-off-by: Pushpal Sidhu <[email protected]> Modified: trunk/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c =================================================================== --- trunk/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c 2015-12-17 09:28:35 UTC (rev 47919) +++ trunk/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c 2015-12-17 09:28:42 UTC (rev 47920) @@ -1054,7 +1054,9 @@ laguna_gpio_leds[0].gpio = 107; laguna_gpio_leds[1].gpio = 106; laguna_gpio_leds_data.num_leds = 2; - } else if (strncmp(laguna_info.model, "GW2391", 6) == 0) { + } else if ( (strncmp(laguna_info.model, "GW2391", 6) == 0) + || (strncmp(laguna_info.model, "GW2393", 6) == 0) ) + { // configure GPIO's laguna_register_gpio(ARRAY_AND_SIZE(laguna_gpio_gw2391)); // configure LED's _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
