swconfig: revert the portmapping patches, they seem to cause a segfault
Revert "kernel/swconfig: remove obsolete portmapping feature from swconfig" This reverts commit675407baa4. Revert "swconfig: remove obsolete portmapping feature" This reverts commitfca1eb349e. Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -93,6 +93,36 @@
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x2f>;
|
||||
|
||||
port@0 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "lan";
|
||||
swconfig,portmap = <0 4>;
|
||||
};
|
||||
|
||||
port@1 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "lan";
|
||||
swconfig,portmap = <1 3>;
|
||||
};
|
||||
|
||||
port@2 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "lan";
|
||||
swconfig,portmap = <2 2>;
|
||||
};
|
||||
|
||||
port@3 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "lan";
|
||||
swconfig,portmap = <3 1>;
|
||||
};
|
||||
|
||||
port@4 {
|
||||
compatible = "swconfig,port";
|
||||
swconfig,segment = "wan";
|
||||
swconfig,portmap = <4 0>;
|
||||
};
|
||||
};
|
||||
|
||||
&wmac {
|
||||
|
||||
Reference in New Issue
Block a user