]> bbs.cooldavid.org Git - net-next-2.6.git/commit
netxen: fix for kdump
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Thu, 15 Jul 2010 00:55:35 +0000 (17:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jul 2010 00:55:35 +0000 (17:55 -0700)
commitf8320f059296eb8cab6e2429c7ec79b43d42cf42
treea6d9c7b48e6d680e3b6e604c50ace023870cd554
parentbdb0f8672ff6f601a32df5af40f11526b741985c
netxen: fix for kdump

When the crash kernel is loaded after crash, the device is in unknown state.
So reset the device contexts prior to its creation in case of kdump,
depending upon kernel parameter reset_devices.

Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_ctx.c