[OpenWrt-Devel] Second RGMII ethernet on MT7621?
Bjørn Mork
bjorn at mork.no
Fri Aug 17 08:27:21 EDT 2018
Bjørn Mork <bjorn at mork.no> writes:
> @@ -2184,11 +2197,13 @@ static int mtk_free_dev(struct mtk_eth *
>
> static int mtk_unreg_dev(struct mtk_eth *eth)
> {
> + struct mtk_mac *mac;
> int i;
>
> for (i = 0; i < MTK_MAC_COUNT; i++) {
> if (!eth->netdev[i])
> continue;
> + mac = netdev_priv(eth->netdev[i]);
> unregister_netdev(eth->netdev[i]);
> }
>
Please ignore this unrelated hunk. It was left over from some
experimental changes. Sorry about that.
Bjørn
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list