- ath79_init_mac(ath79_eth1_data.mac_addr, mac, 1);
- ath79_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
- ath79_eth1_data.speed = SPEED_1000;
- ath79_eth1_data.duplex = DUPLEX_FULL;
- ath79_eth1_data.phy_mask = BIT(4);
-
- ath79_register_mdio(0, ~(BIT(0) | BIT(4)));