summaryrefslogtreecommitdiffstats
path: root/drivers/dio
diff options
context:
space:
mode:
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>2012-12-21 19:40:31 -0800
committerJames Bottomley <JBottomley@Parallels.com>2013-01-30 10:48:48 +1100
commite7f4fed5fa96d3da12c3e1c8ed9f536235eec3b5 (patch)
treea13ac74c4e452af823c18f06e3b9891d1f497ff7 /drivers/dio
parent26bf62a3dd0752f29609b2dea85a4f0b806da315 (diff)
downloadtalos-obmc-linux-e7f4fed5fa96d3da12c3e1c8ed9f536235eec3b5.tar.gz
talos-obmc-linux-e7f4fed5fa96d3da12c3e1c8ed9f536235eec3b5.zip
[SCSI] bnx2fc: Map the doorbell register between offload and enable requests
We used to map doorbell register after FW enable request is complete. This causes a race condition when unsolicited event is received, and FW sends a CQE for it. Since the doorbell is not mapped, driver does not arm CQ, which means FW will not notify the driver for further CQ completions. To resolve this, map the doorbell between offload and enable, so that driver is ready to receive the unsolicited packets and arm the CQ as soon as FW enable is performed. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud