mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-02 20:28:53 +00:00
unbreak portmapping - typo fix
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36293
This commit is contained in:
parent
7ca7bc501e
commit
fb47fd0d6b
@ -987,7 +987,7 @@ of_switch_load_portmap(struct switch_dev *dev)
|
|||||||
const char *segment;
|
const char *segment;
|
||||||
int size, phys;
|
int size, phys;
|
||||||
|
|
||||||
if (of_device_is_compatible(port, "swconfig,port"))
|
if (!of_device_is_compatible(port, "swconfig,port"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (of_property_read_string(port, "swconfig,segment", &segment))
|
if (of_property_read_string(port, "swconfig,segment", &segment))
|
||||||
|
@ -94,28 +94,28 @@
|
|||||||
ralink,portmap = <0x2f>;
|
ralink,portmap = <0x2f>;
|
||||||
|
|
||||||
port@0 {
|
port@0 {
|
||||||
conpatible = "swconfig,port";
|
compatible = "swconfig,port";
|
||||||
swconfig,segment = "lan";
|
swconfig,segment = "lan";
|
||||||
swconfig,portmap = <0 4>;
|
swconfig,portmap = <0 4>;
|
||||||
};
|
};
|
||||||
port@1 {
|
port@1 {
|
||||||
conpatible = "swconfig,port";
|
compatible = "swconfig,port";
|
||||||
swconfig,segment = "lan";
|
swconfig,segment = "lan";
|
||||||
swconfig,portmap = <1 3>;
|
swconfig,portmap = <1 3>;
|
||||||
};
|
};
|
||||||
port@2 {
|
port@2 {
|
||||||
conpatible = "swconfig,port";
|
compatible = "swconfig,port";
|
||||||
swconfig,segment = "lan";
|
swconfig,segment = "lan";
|
||||||
swconfig,portmap = <2 2>;
|
swconfig,portmap = <2 2>;
|
||||||
};
|
};
|
||||||
port@3 {
|
port@3 {
|
||||||
conpatible = "swconfig,port";
|
compatible = "swconfig,port";
|
||||||
swconfig,segment = "lan";
|
swconfig,segment = "lan";
|
||||||
swconfig,portmap = <3 1>;
|
swconfig,portmap = <3 1>;
|
||||||
};
|
};
|
||||||
port@4 {
|
port@4 {
|
||||||
conpatible = "swconfig,port";
|
compatible = "swconfig,port";
|
||||||
swconfig,segment = "lan";
|
swconfig,segment = "wan";
|
||||||
swconfig,portmap = <4 0>;
|
swconfig,portmap = <4 0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user