]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 07:22:10 +0000 (15:22 +0800)
commit19f41153b8ccdafde5603df506fa1e833d614f54
tree58d974a396348df3b2db73684f7664c9c0efb284
parente1fd6273cc7ded28567dc5a831abcaf352fafcef
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.

(cherry picked from commit 985848f80ffc61a29d9a72fec46ddce3c9643636)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2x/bnx2x_link.c