Skip to content

Commit

Permalink
Merge pull request #758 from Telecominfraproject/main
Browse files Browse the repository at this point in the history
mediatek: Fix MAC assignment for eth ports on Edgecore EAP112
  • Loading branch information
jaspreetsachdev authored Dec 12, 2024
2 parents f091db1 + ee80309 commit 18bf0d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
mtk_qdma_debugfs_init(eth);
}

+ if (of_machine_is_compatible("edgecore,eap111")) {
+ if (of_machine_is_compatible("edgecore,eap111") || of_machine_is_compatible("edgecore,eap112")) {
+ sprintf(eth->netdev[0]->name, "eth1");
+ sprintf(eth->netdev[1]->name, "eth0");
+ }
Expand Down

0 comments on commit 18bf0d3

Please sign in to comment.