]> bbs.cooldavid.org Git - net-next-2.6.git/commit
bnx2x: New link code
authorYaniv Rosner <yanivr@broadcom.com>
Tue, 24 Jun 2008 03:27:52 +0000 (20:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jun 2008 03:27:52 +0000 (20:27 -0700)
commitc18487ee24381b40df3b8b4f54dd13ee9367a1ce
tree0c52df7c30f0789fd7509426c38b2d1551c444b9
parentea4e040abc72f2dbbfdd8d04e271a18593ba72c7
bnx2x: New link code

New Link code:
Moving all the link related code (including the calculations, the
initialization of the MAC and PHY and the external PHY's code) into
a separated file. The changes from the code that used to be part of
bnx2x.c (now called bnx2x_main.c) are:
- Using separate structures for link inputs and link outputs to clearly
  identify what was configured and what is the outcome
- Adding code to read external PHY FW version and print it as part of
  ethtool -i
- Adding code to upgrade external PHY FW from ethtool -E with special
  magic number - Changing the link down indication to ERR level
- Adding a lock on all PHY access to prevent an interrupt and
  setting changes to overlap
- Adding support for emulation and FPGA (small chunk of code that really
  helps in the lab) - Adding support for 1G on BCM8706 PHY
- Adding clear debug print incase of fan failure (the PHY type is now
  "failure")

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Makefile
drivers/net/bnx2x.h
drivers/net/bnx2x_init.h
drivers/net/bnx2x_main.c
drivers/net/bnx2x_reg.h