Got the tg3 driver to work with kernel 4.16.12 and the ethernet port in the Apple Thunderbolt Display by building
both thunderbolt and the tg3 drivers as modules:
Code: Select all
fl-mbp ~ # dmesg | grep tg3
[ 3.425924] tg3.c:v3.137 (May 11, 2014)
[ 3.438187] tg3 0000:0e:00.0 eth0: Tigon3 [partno(BCM957761) rev 57785100] (PCI Express) MAC address 10:dd:b1:d3:c1:7a
[ 3.438189] tg3 0000:0e:00.0 eth0: attached PHY is 57765 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[ 3.438191] tg3 0000:0e:00.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[ 3.438192] tg3 0000:0e:00.0 eth0: dma_rwctrl[00000001] dma_mask[64-bit]
[ 3.523107] tg3 0000:0e:00.0 enp14s0: renamed from eth0
[ 10.042036] tg3 0000:0e:00.0 enp14s0: Link is up at 1000 Mbps, full duplex
[ 10.042042] tg3 0000:0e:00.0 enp14s0: Flow control is on for TX and on for RX
[ 10.042043] tg3 0000:0e:00.0 enp14s0: EEE is enabled
Building thunderbolt in the kernel causes the tg3 driver to fail with the Apple Thunderbolt Display:
Code: Select all
Apr 3 11:19:37 fl-mbp kernel: tg3.c:v3.137 (May 11, 2014)
Apr 3 11:19:37 fl-mbp kernel: tg3 0000:0e:00.0: phy probe failed, err -19
Apr 3 11:19:37 fl-mbp kernel: tg3 0000:0e:00.0: Problem fetching invariants of chip, aborting