mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
mediatek: hnat: remove "mtketh-ppe-num" prop
This commit is contained in:
parent
c8696f26ca
commit
e0fa787d3e
@ -124,7 +124,6 @@
|
||||
&hnat {
|
||||
mtketh-wan = "eth1";
|
||||
mtketh-lan = "eth0";
|
||||
mtketh-ppe-num = <2>;
|
||||
mtketh-max-gmac = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -210,7 +210,6 @@
|
||||
mtketh-lan = "eth1";
|
||||
mtketh-ppd = "eth1";
|
||||
mtketh-max-gmac = <2>;
|
||||
mtketh-ppe-num = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -274,7 +274,6 @@
|
||||
mtketh-wan = "eth1";
|
||||
mtketh-lan = "lan";
|
||||
mtketh-max-gmac = <2>;
|
||||
mtketh-ppe-num = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -273,7 +273,6 @@
|
||||
mtketh-wan = "eth1";
|
||||
mtketh-lan = "lan";
|
||||
mtketh-max-gmac = <2>;
|
||||
mtketh-ppe-num = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -240,7 +240,6 @@
|
||||
&hnat {
|
||||
mtketh-wan = "eth1";
|
||||
mtketh-lan = "lan";
|
||||
mtketh-ppe-num = <2>;
|
||||
mtketh-max-gmac = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -123,7 +123,6 @@
|
||||
mtketh-wan = "eth1";
|
||||
mtketh-lan = "lan";
|
||||
mtketh-max-gmac = <2>;
|
||||
mtketh-ppe-num = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -119,7 +119,6 @@
|
||||
mtketh-wan = "eth1";
|
||||
mtketh-lan = "lan";
|
||||
mtketh-max-gmac = <2>;
|
||||
mtketh-ppe-num = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -129,7 +129,6 @@
|
||||
mtketh-wan = "eth1";
|
||||
mtketh-lan = "eth0";
|
||||
mtketh-max-gmac = <2>;
|
||||
mtketh-ppe-num = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -732,12 +732,7 @@ static int hnat_probe(struct platform_device *pdev)
|
||||
dev_info(&pdev->dev, "wan dsa port = %d\n", hnat_priv->wan_dsa_port);
|
||||
}
|
||||
|
||||
err = of_property_read_u32_index(np, "mtketh-ppe-num", 0, &val);
|
||||
|
||||
if (err < 0)
|
||||
hnat_priv->ppe_num = ppe_cnt;
|
||||
else
|
||||
hnat_priv->ppe_num = val;
|
||||
hnat_priv->ppe_num = ppe_cnt;
|
||||
|
||||
dev_info(&pdev->dev, "ppe num = %d\n", hnat_priv->ppe_num);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user