aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_mbx.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2005-07-06 13:32:07 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-07-14 11:03:15 -0400
commitfa2a1ce53d4b869b74da9a770770c79f9af64914 (patch)
treeda350e79117d3177f51c2788c51aeba425afd4ca /drivers/scsi/qla2xxx/qla_mbx.c
parentba5140b48e35aa4e4b57eb6db5cface63d7bd712 (diff)
[SCSI] qla2xxx: Code scrubbing.
Code scrubbing. - Remove trailing whitespace from driver files. - Remove unused #defines and inlines. - Standardize on C comments (// -> /* */) Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mbx.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_mbx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
index ab361be003d3..2731457911bf 100644
--- a/drivers/scsi/qla2xxx/qla_mbx.c
+++ b/drivers/scsi/qla2xxx/qla_mbx.c
@@ -294,7 +294,7 @@ qla2x00_mailbox_command(scsi_qla_host_t *ha, mbx_cmd_t *mcp)
294 "Mailbox command timeout occured. Scheduling ISP " 294 "Mailbox command timeout occured. Scheduling ISP "
295 "abort.\n"); 295 "abort.\n");
296 set_bit(ISP_ABORT_NEEDED, &ha->dpc_flags); 296 set_bit(ISP_ABORT_NEEDED, &ha->dpc_flags);
297 if (ha->dpc_wait && !ha->dpc_active) 297 if (ha->dpc_wait && !ha->dpc_active)
298 up(ha->dpc_wait); 298 up(ha->dpc_wait);
299 299
300 } else if (!abort_active) { 300 } else if (!abort_active) {
@@ -1753,18 +1753,18 @@ qla2x00_login_fabric(scsi_qla_host_t *ha, uint16_t loop_id, uint8_t domain,
1753/* 1753/*
1754 * qla2x00_login_local_device 1754 * qla2x00_login_local_device
1755 * Issue login loop port mailbox command. 1755 * Issue login loop port mailbox command.
1756 * 1756 *
1757 * Input: 1757 * Input:
1758 * ha = adapter block pointer. 1758 * ha = adapter block pointer.
1759 * loop_id = device loop ID. 1759 * loop_id = device loop ID.
1760 * opt = command options. 1760 * opt = command options.
1761 * 1761 *
1762 * Returns: 1762 * Returns:
1763 * Return status code. 1763 * Return status code.
1764 * 1764 *
1765 * Context: 1765 * Context:
1766 * Kernel context. 1766 * Kernel context.
1767 * 1767 *
1768 */ 1768 */
1769int 1769int
1770qla2x00_login_local_device(scsi_qla_host_t *ha, uint16_t loop_id, 1770qla2x00_login_local_device(scsi_qla_host_t *ha, uint16_t loop_id,
@@ -2070,7 +2070,7 @@ qla2x00_get_resource_cnts(scsi_qla_host_t *ha, uint16_t *cur_xchg_cnt,
2070 } else { 2070 } else {
2071 DEBUG11(printk("%s(%ld): done. mb1=%x mb2=%x mb3=%x mb6=%x " 2071 DEBUG11(printk("%s(%ld): done. mb1=%x mb2=%x mb3=%x mb6=%x "
2072 "mb7=%x mb10=%x.\n", __func__, ha->host_no, 2072 "mb7=%x mb10=%x.\n", __func__, ha->host_no,
2073 mcp->mb[1], mcp->mb[2], mcp->mb[3], mcp->mb[6], mcp->mb[7], 2073 mcp->mb[1], mcp->mb[2], mcp->mb[3], mcp->mb[6], mcp->mb[7],
2074 mcp->mb[10])); 2074 mcp->mb[10]));
2075 2075
2076 if (cur_xchg_cnt) 2076 if (cur_xchg_cnt)