Hi all,
On an A10 Cubieboard, there seems to be something odd going on with the
sun4i-emac driver with 5.0...
With 4.20.12, the driver correctly reports the switch's supported modes
and negotiates 100baseT full duplex:
# ethtool eth0 [...]
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
With 5.0.3, it ends up at 10baseT half duplex:
Link partner advertised link modes: 10baseT/Half
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: No
Speed: 10Mb/s
Duplex: Half
After it's been running for a while, I'm also getting a report like this
(from emac_interrupt) in dmesg every few seconds:
[ 571.518667] sun4i-emac 1c0b000.ethernet eth0: ab : 40004
[ 572.318132] sun4i-emac 1c0b000.ethernet eth0: ab : 40004
[ 572.707625] sun4i-emac 1c0b000.ethernet eth0: ab : 40008
[ 573.491298] sun4i-emac 1c0b000.ethernet eth0: ab : 40004
[ 574.399618] sun4i-emac 1c0b000.ethernet eth0: ab : 40004
[ 574.941244] sun4i-emac 1c0b000.ethernet eth0: ab : 40004
I can't see any non-trivial differences to either sun4i-emac or the A10
device trees between 4.20 and 5.0; any ideas what else might be causing
this?
Cheers,
--
Adam Sampson <[email protected]> <http://offog.org/>
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.