On Saturday, January 23, 2021 4:32:38 AM MSK Andrew Lunn wrote: > > it migth be helpful for developers work on userspace networking tools with > > PHY-less lan743x > > (the interface even could not be brought up) > > > of course, there nothing much to do without TP port but the difference is > > representative. > > > > sbauer@metamini ~$ sudo ethtool eth7 > > Settings for eth7: > > Cannot get device settings: No such device > > > > Supports Wake-on: pumbag > > Wake-on: d > > Current message level: 0x00000137 (311) > > > > drv probe link ifdown ifup tx_queued > > > > Link detected: no > > > > sbauer@metamini ~$ sudo ifup eth7 > > sbauer@metamini ~$ sudo ethtool eth7 > > > > Settings for eth7: > > Supported ports: [ MII ] > > Supported link modes: 10baseT/Full > > > > 100baseT/Full > > 1000baseT/Full > > > > Supported pause frame use: Symmetric Receive-only > > Supports auto-negotiation: Yes > > Supported FEC modes: Not reported > > Advertised link modes: 10baseT/Full > > > > 100baseT/Full > > 1000baseT/Full > > > > Advertised pause frame use: Symmetric Receive-only > > Advertised auto-negotiation: Yes > > Advertised FEC modes: Not reported > > Speed: 1000Mb/s > > Duplex: Full > > Port: MII > > PHYAD: 0 > > Transceiver: internal > > Auto-negotiation: on > > Supports Wake-on: pumbag > > Wake-on: d > > Current message level: 0x00000137 (311) > > > > drv probe link ifdown ifup tx_queued > > > > Link detected: yes > > > > sbauer@metamini ~$ sudo mii-tool -vv eth7 > > Using SIOCGMIIPHY=0x8947 > > eth7: negotiated 1000baseT-FD, link ok > > > > registers for MII PHY 0: > > 5140 512d 7431 0011 4140 4140 000d 0000 > > 0000 0200 7800 0000 0000 0000 0000 2000 > > 0000 0000 0000 0000 0000 0000 0000 0000 > > 0000 0000 0000 0000 0000 0000 0000 0000 > > > > product info: vendor 1d:0c:40, model 1 rev 1 > > basic mode: loopback, autonegotiation enabled > > basic status: autonegotiation complete, link ok > > capabilities: 1000baseT-FD 100baseTx-FD 10baseT-FD > > advertising: 1000baseT-FD 100baseTx-FD 10baseT-FD > > link partner: 1000baseT-FD 100baseTx-FD 10baseT-FD > > You have not shown anything i cannot do with the ethernet interfaces i > have in my laptop. And since ethtool is pretty standardized, what > lan743x offers should be pretty much the same as any 1G Ethernet MAC > using most 1G PHYs. > > Andrew
Andrew, for this moment with lan743x we can get only this: sbauer@metamini ~/devel/kernel-works/net-next.git master$ sudo ethtool eth7 Settings for eth7: Cannot get device settings: No such device Supports Wake-on: pumbag Wake-on: d Current message level: 0x00000137 (311) drv probe link ifdown ifup tx_queued Link detected: no sbauer@metamini ~/devel/kernel-works/net-next.git master$ sudo mii-tool -vv eth7 Using SIOCGMIIPHY=0x8947 SIOCGMIIPHY on 'eth7' failed: Invalid argument -- Regards, Sergej.