NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/53216: sunxi awge is unreliable at gigabit speed



On Thu, Apr 26, 2018 at 11:36:14AM +0200, Manuel Bouyer wrote:
> How does the ethernet attach ?
> Does it also see 2 PHYs ?

Yes, there are two phys in the soc, only one is connected on the cubietruck
(AFAIK).

awge0 at fdt1: GMAC
awge0: interrupting on GIC irq 117
awge0: Ethernet address: 02:0e:03:41:63:14
rgephy0 at awge0 phy 0: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 5
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
rgephy1 at awge0 phy 1: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 5
rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

and:

awge0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ec_capabilities=1<VLAN_MTU>
        ec_enabled=0
        address: 02:0e:03:41:63:14
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
[..]

Which reminds me I need to add checksum offload to the driver.

Martin


Home | Main Index | Thread Index | Old Index