diff options
author | Rasesh Mody <rmody@brocade.com> | 2011-04-14 08:05:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-14 13:39:44 -0700 |
commit | 79ea6c8966b861f80e77a14b2acf581563f3c83e (patch) | |
tree | d2a556b6e833a88519faca8e064725bdfabcbe5f /fs/gfs2 | |
parent | dd5030404695d81792a21cba575e02b21a2f275a (diff) | |
download | op-kernel-dev-79ea6c8966b861f80e77a14b2acf581563f3c83e.zip op-kernel-dev-79ea6c8966b861f80e77a14b2acf581563f3c83e.tar.gz |
bna: fix for clean fw re-initialization
During a kernel crash, bna control path state machine and firmware do not
get a notification and hence are not cleanly shutdown. The registers
holding driver/IOC state information are not reset back to valid
disabled/parking values. This causes subsequent driver initialization
to hang during kdump kernel boot. This patch, during the initialization
of first PCI function, resets corresponding register when unclean shutown
is detect by reading chip registers. This will make sure that ioc/fw
gets clean re-initialization.
Signed-off-by: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions