netxen: fix kdump
Reset the whole hw instead of freeing hw resources consumed by each pci function. Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com> Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
448d7b5daf
commit
683b65f89a
2 changed files with 7 additions and 15 deletions
|
@ -1356,6 +1356,13 @@ netxen_nic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
|||
break;
|
||||
}
|
||||
|
||||
if (reset_devices) {
|
||||
if (adapter->portnum == 0) {
|
||||
NXWR32(adapter, NX_CRB_DEV_REF_COUNT, 0);
|
||||
adapter->need_fw_reset = 1;
|
||||
}
|
||||
}
|
||||
|
||||
err = netxen_start_firmware(adapter);
|
||||
if (err)
|
||||
goto err_out_decr_ref;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue