Commit Graph

11 Commits

Author SHA1 Message Date
msaitoh
a247df1640 Add workaround for DMA hang problem which result in TX device timeout on
PCH_LPT with I218. Same as FreeBSD and Linux. This woraround is only for
device ID 0x155a, 0x15a2, 0x1559 and 0x15a3. I observed this problem on my
Shuttle DS57U's I218 port six times in two months.
2018-11-02 03:22:19 +00:00
msaitoh
66ef30384e - Call wm_kmrn_lock_loss_workaround_ich8lan() before any PHY access in
wm_linkintr_gmii().
- Register access in wm_kmrn_lock_loss_workaround_ich8lan() now works
  correctly. Enable this function.
- Configure the LCD with the extended configuration region in NVM if it's
  required.
- Add debug printf.
2017-07-13 08:22:20 +00:00
msaitoh
acd0729a35 Sync wm_smbustopci() with Linux and FreeBSD. This change effects PCH and
newer devices.
2016-11-16 08:56:17 +00:00
msaitoh
a876d694e3 Fix wm_access_phy_wakeup_reg_bm(). This change has no effect because this
function is used for WUC register and our driver currenlty doesn't access
to it.
2016-11-08 10:37:39 +00:00
msaitoh
5f6b90ba37 - Use MII_ADDRMASK.
- Remove debug printf().
2016-10-28 05:50:18 +00:00
msaitoh
40e237eae6 - Drop the host wakeup bit after resetting PHY on PCH and newer devices.
- Increase delay while toggling LANPHYPC
2016-10-19 08:22:57 +00:00
msaitoh
532993fe64 Change page of the OEM_BITS register back to 0 again. The document
(Intel Ethernet Connection I219 Datasheet) says its in page 0.
FreeBSD/Linux code access page 768. WHY?

This change will fix a bug that the LPLU function isn't disabled.

 See: http://mail-index.netbsd.org/source-changes-d/2016/09/19/msg008720.html
2016-09-20 09:24:12 +00:00
msaitoh
375093407f HV_OEM_BITS is not page 0 but page 768. 2016-09-09 06:34:10 +00:00
msaitoh
e43e4777a3 82579 support. 2011-05-20 06:06:59 +00:00
msaitoh
844288483e Add forgotten commit (IGP3_KMRN_DIAG_PCS_LOCK_LOSS). 2010-03-07 11:07:01 +00:00
msaitoh
86ff2cac75 Fixes the rx stall problem on 82578 by MANY workaround code.
We need more work for 82577.
2010-01-14 18:56:01 +00:00