[][openwrt][switch][ARHT][update switch app to v1.0.7]
[Description]
Add below modification:
1). align switch app version to v1.0.7 with ARHT
2). fixed check_patch errors as much as possible in switch app
3). get_chip_name() directly return AN8855 to prevent 0x1f register
from being overwritten by reg_read
4). correct some files from Windos(CRLF) to UNIX(LF)
[Release-log]
N/A
Change-Id: I4913c8124ded81cffe0493748c0347fdb1fbb22f
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9453546
diff --git a/feed/app/switch/src/switch_extend.h b/feed/app/switch/src/switch_extend.h
index c352767..a35316e 100644
--- a/feed/app/switch/src/switch_extend.h
+++ b/feed/app/switch/src/switch_extend.h
@@ -154,7 +154,7 @@
#define REG_VAWD2_ADDR (0x0098)
#define REG_VLAN_ID_BASE (0x0100)
-#define REG_CPGC_ADDR (0xB0)
+#define REG_CPGC_ADDR (0xB0)
#define REG_CPCG_COL_EN_OFFT (0)
#define REG_CPCG_COL_EN_RELMASK (0x00000001)
#define REG_CPCG_COL_EN_MASK (REG_CPCG_COL_EN_RELMASK << REG_CPCG_COL_EN_OFFT)
@@ -336,7 +336,7 @@
" 1: Blocking/Listening/Discarding\n" \
" 2: Learning\n" \
" 3: Forwarding\n"
-#define HELP_COLLISION_POOL_EN "collision-pool enable [enable 0|1] \n"
-#define HELP_EEE_EN "eee [enable|disable] ([port|portMap]) \n"
+#define HELP_COLLISION_POOL_EN "collision-pool enable [enable 0|1]\n"
+#define HELP_EEE_EN "eee [enable|disable] ([port|portMap])\n"
//#endif //SQA_VERIFY