Jun 6 17:47:26 ubuntu kernel: [ 176.658581] Atheros 8031 ethernet QCOM8070:00:04: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=QCOM8070:00:04, irq=-1)
Jun 6 17:47:26 ubuntu kernel: [ 176.658649] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jun 6 17:47:27 ubuntu kernel: [ 177.687890] qcom-emac QCOM8070:00 eth0: Link is Down
Jun 6 17:47:30 ubuntu kernel: [ 179.735532] qcom-emac QCOM8070:00 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
Jun 6 17:47:30 ubuntu kernel: [ 179.735544] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Listening on LPF/eth0/8c:fd:f0:06:92:a5
Sending on LPF/eth0/8c:fd:f0:06:92:a5
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x1108047b)
...
DHCPREQUEST of 10.228.66.113 on eth0 to 255.255.255.255 port 67 (xid=0x7b040811)
DHCPOFFER of 10.228.66.113 from 10.228.66.3
DHCPACK of 10.228.66.113 from 10.228.66.3
bound to 10.228.66.113 -- renewal in 278 seconds.
Testing on QDF2400 ARM64 platform.
== With the patch ==
ubuntu@ubuntu:~$ lsmod | grep -E "qcom_emac|at803x"
at803x 16384 0
qcom_emac 49152 0
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo ifup eth0
Jun 6 17:47:26 ubuntu kernel: [ 176.658581] Atheros 8031 ethernet QCOM8070:00:04: attached PHY driver [Atheros 8031 ethernet] (mii_bus: phy_addr= QCOM8070: 00:04, irq=-1) NETDEV_ UP): eth0: link is not ready NETDEV_ CHANGE) : eth0: link becomes ready
Jun 6 17:47:26 ubuntu kernel: [ 176.658649] IPv6: ADDRCONF(
Jun 6 17:47:27 ubuntu kernel: [ 177.687890] qcom-emac QCOM8070:00 eth0: Link is Down
Jun 6 17:47:30 ubuntu kernel: [ 179.735532] qcom-emac QCOM8070:00 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
Jun 6 17:47:30 ubuntu kernel: [ 179.735544] IPv6: ADDRCONF(
Listening on LPF/eth0/ 8c:fd:f0: 06:92:a5 8c:fd:f0: 06:92:a5
Sending on LPF/eth0/
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x1108047b)
...
DHCPREQUEST of 10.228.66.113 on eth0 to 255.255.255.255 port 67 (xid=0x7b040811)
DHCPOFFER of 10.228.66.113 from 10.228.66.3
DHCPACK of 10.228.66.113 from 10.228.66.3
bound to 10.228.66.113 -- renewal in 278 seconds.