diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2016-07-13 12:07:08 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2016-07-13 15:39:15 +0200 |
commit | efa1960abb390d696704d029507dff671cc271fd (patch) | |
tree | fa9fb6267c4357fe51051dd5545ba2ce81b3e1b8 /target/linux/ramips/patches-4.4/0520-esw-gmac.patch | |
parent | d6b3b44d9798dfd6aba3758843acbf310b98a853 (diff) | |
download | master-31e0f0ae-efa1960abb390d696704d029507dff671cc271fd.tar.gz master-31e0f0ae-efa1960abb390d696704d029507dff671cc271fd.tar.bz2 master-31e0f0ae-efa1960abb390d696704d029507dff671cc271fd.zip |
kernel: update kernel 4.4 to version 4.4.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/ramips/patches-4.4/0520-esw-gmac.patch')
-rw-r--r-- | target/linux/ramips/patches-4.4/0520-esw-gmac.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ramips/patches-4.4/0520-esw-gmac.patch b/target/linux/ramips/patches-4.4/0520-esw-gmac.patch index 9d4cd3f4c1..ae5fa16d66 100644 --- a/target/linux/ramips/patches-4.4/0520-esw-gmac.patch +++ b/target/linux/ramips/patches-4.4/0520-esw-gmac.patch @@ -1,6 +1,6 @@ --- a/drivers/net/ethernet/mediatek/esw_rt3050.c +++ b/drivers/net/ethernet/mediatek/esw_rt3050.c -@@ -221,6 +221,8 @@ +@@ -221,6 +221,8 @@ struct rt305x_esw { unsigned char port_map; unsigned char port_disable; @@ -9,7 +9,7 @@ unsigned int reg_led_polarity; struct switch_dev swdev; -@@ -452,7 +454,10 @@ +@@ -452,7 +454,10 @@ static void esw_hw_init(struct rt305x_es (RT305X_ESW_PORTS_NOCPU << RT305X_ESW_POC2_UNTAG_EN_S)), RT305X_ESW_REG_POC2); @@ -21,7 +21,7 @@ /* 300s aging timer, max packet len 1536, broadcast storm prevention * disabled, disable collision abort, mac xor48 hash, 10 packet back -@@ -475,7 +480,10 @@ +@@ -475,7 +480,10 @@ static void esw_hw_init(struct rt305x_es * port5: disabled * port6: enabled, gige, full-duplex, rx/tx-flow-control */ @@ -33,7 +33,7 @@ esw_w32(esw, 0x00000000, RT305X_ESW_REG_FPA); /* Force Link/Activity on ports */ -@@ -1361,6 +1369,14 @@ +@@ -1361,6 +1369,14 @@ static int esw_probe(struct platform_dev if (port_disable) esw->port_disable = be32_to_cpu(*port_disable); @@ -48,7 +48,7 @@ reg_init = of_get_property(np, "mediatek,led_polarity", NULL); if (reg_init) esw->reg_led_polarity = be32_to_cpu(*reg_init); -@@ -1386,6 +1402,18 @@ +@@ -1386,6 +1402,18 @@ static int esw_probe(struct platform_dev esw_hw_init(esw); |