]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitf8ef6e44474037b1671bb913bc259e048a7d5548
treecea7e46434198036e861396b0d93b5d25306c161
parent0a68a20cc3eafa73bb54097c28b921147d7d3685
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