bnx2x: Reset PHY due to fan failure for 578xx
authorYaniv Rosner <yanivr@broadcom.com>
Tue, 5 Jul 2011 01:06:48 +0000 (01:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2011 11:21:40 +0000 (04:21 -0700)
commit985848f80ffc61a29d9a72fec46ddce3c9643636
tree756d4cf1b0c10d8e3260b40d5a19f784dd725f7b
parenta34bc969a19b3a2364c03c101abb3b4d467089c0
bnx2x: Reset PHY due to fan failure for 578xx

Add hardware PHY reset action for BCM578xx when fan failure occur.
The new bnx2x_warpcore_hw_reset warps bnx2x_warpcore_power_module to fit the .hw_reset function template of the phy structure.

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/bnx2x/bnx2x_link.c