From: Bhanu Prakash Gollapudi Date: Sat, 22 Dec 2012 03:40:31 +0000 (-0800) Subject: [SCSI] bnx2fc: Map the doorbell register between offload and enable requests X-Git-Tag: v3.9-rc1~45^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7f4fed5fa96d3da12c3e1c8ed9f536235eec3b5;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed