]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Move bge_phy_hack into the phy code and implement the various DSP
authorPaul Saab <ps@FreeBSD.org>
Sat, 3 May 2003 19:06:50 +0000 (19:06 +0000)
committerPaul Saab <ps@FreeBSD.org>
Sat, 3 May 2003 19:06:50 +0000 (19:06 +0000)
commit37ceeb4d9fd9125784c9c3e1b7ec03da5fe827a4
tree17617e195afebb5b466aea278f14db480648dab7
parentc69284ca082cbf4cc61ba71a3413ebbbf8b3b4c5
- Move bge_phy_hack into the phy code and implement the various DSP
  patch workarounds for each phy revision.
  Obtained from: NetBSD & Broadcom Linux driver

- Disable AUTOPOLL when accessing the PHY as it may cause PCI errors.
  Obtained from: NetBSD

- Check the UPDATED bit in the status block so the driver knows
  that the status block as indeed changed since the last access.
  Broadcom documentation states drivers should unset the UPDATED/CHANGED
  bits after reading them.

- When changing media types, first loop the phy then set the media.
  Broadcom documentation and Linux drivers do this and I observed
  much better handling of link after this change.

- Broadcom documentation states that for 1000BaseT operation,
  autonegotiation must be enabled.  Fix hard coding of media so that
  the driver only advertises 1000BaseT as the supported media type
  and enable autonegotition.

- Only set Master/Slave on the 5701.
  Obtained from Broadcom Linux driver.
sys/dev/bge/if_bge.c
sys/dev/mii/brgphy.c