]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/bnx2x/bnx2x_main.c
bnx2x: Reset HW before use
authorEilon Greenstein <eilong@broadcom.com>
Thu, 22 Jan 2009 03:37:31 +0000 (03:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jan 2009 21:45:05 +0000 (13:45 -0800)
commit81f75bbf67c7a26ea1266ac93b9319bb985d588d
tree29bc0801b3ffab742ed0d02e637988bab605db53
parent637f883739b32746889a191f282c9ea2590ecf4f
bnx2x: Reset HW before use

To avoid complications, make sure that the HW is in reset (as it should be)
before trying to take it out of reset. In normal flows, the HW is indeed in rest
so this should have no effect

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c