#22135: Unifi AP AC LR No ethernet on trunk [and solution]
-----------------------------------------+------------------------
 Reporter:  anonymous                    |      Owner:  developers
     Type:  defect                       |     Status:  new
 Priority:  normal                       |  Milestone:
Component:  kernel                       |    Version:  Trunk
 Keywords:  mii ag71xx ubiquiti unifiac  |
-----------------------------------------+------------------------
 The unifiac port targets this device, but flashing that image will require
 a serial console to access. The root issue is that the mii_bus part of the
 ag71xx_platform_data is not populated by dev_eth.c.

 The symptoms of the bug:
 [    0.680522] libphy: ag71xx_mdio: probed
 [    0.684622] ag71xx ag71xx.0: no MII bus device specified
 [    0.690117] ag71xx: probe of ag71xx.0 failed with error -22

 After dirty patch below:

 [    0.663845] libphy: ag71xx_mdio: probed
 [    1.335853] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04
 [uid=004dd074, driver=Atheros 8031/8033 ethernet]
 [    1.347180] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII

 The attached patch fixes it, but obviously breaks everything else, so a
 more openwrt specific fix could be derived from it.

--
Ticket URL: <https://dev.openwrt.org/ticket/22135>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to