Update the Broadcom Gigabit Ethernet driver and the Broadcom
authorHiten Pandya <hmp@dragonflybsd.org>
Tue, 10 Feb 2004 21:14:14 +0000 (21:14 +0000)
committerHiten Pandya <hmp@dragonflybsd.org>
Tue, 10 Feb 2004 21:14:14 +0000 (21:14 +0000)
commit7e40b8c53c969ce8413f58e4854d65ccf56b0e25
treef661e6decda744cc2ad8b92ee7e894315f03665f
parent58b6d24a29baee59961184246477db1ce0faf79a
Update the Broadcom Gigabit Ethernet driver and the Broadcom
Gigabit PHY.  Revision numbers that appear below are taken from
if_bge.c.

ChangeLog:

Changes taken from FreeBSD RELENG_4:

* (1.3.2.23) distinguish PCS encoding error events
  from actual link state change events.

* (1.3.2.24) support for the Broadcom 5705.
  Please lookup the FreeBSD CVS Logs for if_bge.c
  for more information about this change.  This
  requires update of ``miidevs''.

* (1.3.2.25) properly set the mbuf space size for
  the BCM5704 NICs to fix watchdog timeouts on Dell
  1750 servers, and fix spurious 'gigabit link up'
  messages due to not ignoring the 'MI_COMPLETE' bit
  in the MAC status register.

* (1.3.2.26) BGE_HCC_TX_MAX_COAL_BDS_INT is at offset
  0x3C24, not at 0x3C34.

* (1.3.2.27 and 1.3.2.28 already merged by me in
   previous commits to if_bge.c).

* (1.3.2.29) Dell 2650 no link led problem.  This
  requires update to the PHY (brgphy.c).

* (1.3.2.30 was committed by me, which was fix to
  typo in a comment).

Changes from FreeBSD HEAD:

* Fix a typo when setting wirespeed in the Broadcom
  PHY module (rev. 1.27 HEAD of brgphy.c).

* Add PCI ID for yet another bge chip; the Altima 1002
  (rev 1.62 HEAD of if_bge.c).

* Update for if_xname (if_name -> if_dname).

All of the changes highlighted above are taken from FreeBSD
and the $FreeBSD$ tag was updated accordingly.  This should
fix most of the annoying Broadcom Gig-E bugs as of this date.

Tested by: dillon, drhodus
sys/dev/netif/bge/if_bge.c
sys/dev/netif/bge/if_bgereg.h
sys/dev/netif/mii_layer/brgphy.c
sys/dev/netif/mii_layer/brgphyreg.h
sys/dev/netif/mii_layer/miidevs
sys/dev/netif/mii_layer/miidevs.h