Most likely related to the PHY power being turned off.  X540
got a fix for that.  You might want to look through FreeBSD's
e1000 driver looking for the phy power bits relevant to your
model (determine MAC and PHY ids and chip family and then
follow the code).  I've looked briefly some time ago but
nothing has immediately popped at me.


I think we need at least

    e1000_power_up_phy_copper
    e1000_power_down_phy_copper

from FreeBSD's dev/e1000/e1000_phy.c.

Speaking of i219 hardware, any idea where the code from if_em.c r1.330 came
from? The commit is rather succinct.

The diff appears to be based on FreeBSD's code. It's discussed here:

https://marc.info/?t=145493623800004&r=1&w=2

From that thread

- e1000_check_for_copper_link_ich8lan has been ignored.
- e1000_suspend_workaroudns_ich8lan has been ignored. Suspend does
  seem to work on my I219_V chip, though.

these might also be worth looking into.

Reply via email to