CVSROOT: /cvs Module name: src Changes by: s...@cvs.openbsd.org 2015/08/05 12:31:14
Modified files: sys/dev/pci : if_em_hw.c if_em_hw.h Log message: Fix i217 PHY initialization Add a workaround for a hardware bug were receiving of packets would stop until the battery of the laptop was removed. The problem could be triggered if the LAN cable was plugged in after the PHY had already been initialized. The workaround is already present in FreeBSD (e1000_ich8lan.c: e1000_lv_jumbo_workaround_ich8lan()) and Linux. The commit messages of b20a7744 and da1e2046 in Linux have some more details. Found and ported from FreeBSD by Valentin Dornauer. Tested by many. ok deraadt@