mirror of https://github.com/aredn/aredn.git
19 lines
571 B
Diff
19 lines
571 B
Diff
|
Index: openwrt/target/linux/ar71xx/patches-4.9/903-phy-ar8216-no-vlan-ports.patch
|
||
|
===================================================================
|
||
|
--- /dev/null
|
||
|
+++ openwrt/target/linux/ar71xx/patches-4.9/903-phy-ar8216-no-vlan-ports.patch
|
||
|
@@ -0,0 +1,13 @@
|
||
|
+--- a/drivers/net/phy/ar8216.c
|
||
|
++++ b/drivers/net/phy/ar8216.c
|
||
|
+@@ -1154,7 +1154,9 @@
|
||
|
+ if (i == AR8216_PORT_CPU)
|
||
|
+ continue;
|
||
|
+
|
||
|
+- portmask[i] = 1 << AR8216_PORT_CPU;
|
||
|
++ for (j = 0; j < dev->ports; j++) {
|
||
|
++ portmask[i] |= (1 << j);
|
||
|
++ }
|
||
|
+ portmask[AR8216_PORT_CPU] |= (1 << i);
|
||
|
+ }
|
||
|
+ }
|