]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: EEH recovery fix
authorYitchak Gertner <gertner@broadcom.com>
Tue, 9 Sep 2008 12:07:25 +0000 (05:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Sep 2008 12:07:25 +0000 (05:07 -0700)
commit4cd3e5f0536d61b3b473f2f882b31fbfadac809c
treecea7e46434198036e861396b0d93b5d25306c161
parentf7c2046844b76b42898faa81a4dd8e14887f35ec
bnx2x: EEH recovery fix

When EEH detects an i/o error it resets the device thus it cannot be accessed.
In this case the driver needs to unload its interface only with OS, kernel and
network stack but not with the device.
After successful recovery, the driver can load normally.

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