On 31/10/2016 16:37, Andrew Lunn wrote: >> The regnum=5,4,1,1,a,9 logs keep repeating, endlessly. >> Is that expected? > > Yes, that is expected, if you are not using interrupts. The phylib > state machine polls the state of the PHY once per second to see if > there has been a link up/down.
Interesting. But the logs are showing accesses much more frequent than once per second, it seems... (?) And an interrupt for the PHY is configured in the device tree: ð0 { #address-cells = <1>; #size-cells = <0>; phy-connection-type = "rgmii"; phy-handle = <ð0_phy>; /* Atheros AR8035 */ eth0_phy: ethernet-phy@4 { compatible = "ethernet-phy-id004d.d072", "ethernet-phy-ieee802.3-c22"; interrupts = <37 IRQ_TYPE_EDGE_RISING>; reg = <4>; }; }; I'll add a log for the request_irq call. Regards.