be2net: Patch to perform function reset at initialization
authorsarveshwarb <sarveshwarb@serverengines.com>
Wed, 5 Aug 2009 20:05:24 +0000 (13:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Aug 2009 20:05:24 +0000 (13:05 -0700)
commit14074eab8dcaa7f66d8f52612b2dcec51222bb5f
treeb385d8edcc1c6ce44ac7c58552cb0de7839ceb46
parent0d6038ee76f2e06b79d0465807f67e86bf4025de
be2net: Patch to perform function reset at initialization

This patch is a bug fix to avoid system going into a bad state when
driver is loaded in context of kdump kernel. The patch fixes the issue
by performing a soft reset of pci function at probe time.

Signed-off-by: sarveshwarb <sarveshwarb@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c
drivers/net/benet/be_cmds.h
drivers/net/benet/be_main.c