1
1

ath79: enable link state reporting for eth1 on Qxwlan e750a/e600g/e600gac

Now, that the support for e750a/e600g/e600gac is merged, enable link state
reporting for the Fast Ethernet port attached through the built-in switch,
so it can generate netifd and hotplug events as well, for example -
- to control DHCP client.

Signed-off-by: 张 鹏 <sd20@qxwlan.com>
Link: https://github.com/openwrt/openwrt/pull/9971
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
张 鹏 2023-06-12 17:21:28 +08:00 committed by Hauke Mehrtens
parent 17203d6752
commit ebacb59a30
3 changed files with 10 additions and 0 deletions

View File

@ -35,9 +35,12 @@
&eth1 {
status = "okay";
phy-handle = <&swphy0>;
nvmem-cells = <&macaddr_pridata_400 0>;
nvmem-cell-names = "mac-address";
/delete-node/ fixed-link;
gmac-config {
device = <&gmac>;
switch-phy-swap = <0>;

View File

@ -35,9 +35,12 @@
&eth1 {
status = "okay";
phy-handle = <&swphy0>;
nvmem-cells = <&macaddr_pridata_400 0>;
nvmem-cell-names = "mac-address";
/delete-node/ fixed-link;
gmac-config {
device = <&gmac>;
switch-phy-swap = <0>;

View File

@ -136,8 +136,12 @@
};
&eth1 {
phy-handle = <&swphy0>;
nvmem-cells = <&macaddr_pridata_400 0>;
nvmem-cell-names = "mac-address";
/delete-node/ fixed-link;
};
&wmac {