diff options
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_scsih.c')
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_scsih.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index 6ceb7759bfe5..d2064a0533ae 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c +++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c | |||
@@ -397,7 +397,7 @@ _scsih_get_sas_address(struct MPT2SAS_ADAPTER *ioc, u16 handle, | |||
397 | * @is_raid: [flag] 1 = raid object, 0 = sas object | 397 | * @is_raid: [flag] 1 = raid object, 0 = sas object |
398 | * | 398 | * |
399 | * Determines whether this device should be first reported device to | 399 | * Determines whether this device should be first reported device to |
400 | * to scsi-ml or sas transport, this purpose is for persistant boot device. | 400 | * to scsi-ml or sas transport, this purpose is for persistent boot device. |
401 | * There are primary, alternate, and current entries in bios page 2. The order | 401 | * There are primary, alternate, and current entries in bios page 2. The order |
402 | * priority is primary, alternate, then current. This routine saves | 402 | * priority is primary, alternate, then current. This routine saves |
403 | * the corresponding device object and is_raid flag in the ioc object. | 403 | * the corresponding device object and is_raid flag in the ioc object. |
@@ -2671,10 +2671,10 @@ _scsih_block_io_to_children_attached_directly(struct MPT2SAS_ADAPTER *ioc, | |||
2671 | * @handle: device handle | 2671 | * @handle: device handle |
2672 | * Context: interrupt time. | 2672 | * Context: interrupt time. |
2673 | * | 2673 | * |
2674 | * This code is to initiate the device removal handshake protocal | 2674 | * This code is to initiate the device removal handshake protocol |
2675 | * with controller firmware. This function will issue target reset | 2675 | * with controller firmware. This function will issue target reset |
2676 | * using high priority request queue. It will send a sas iounit | 2676 | * using high priority request queue. It will send a sas iounit |
2677 | * controll request (MPI2_SAS_OP_REMOVE_DEVICE) from this completion. | 2677 | * control request (MPI2_SAS_OP_REMOVE_DEVICE) from this completion. |
2678 | * | 2678 | * |
2679 | * This is designed to send muliple task management request at the same | 2679 | * This is designed to send muliple task management request at the same |
2680 | * time to the fifo. If the fifo is full, we will append the request, | 2680 | * time to the fifo. If the fifo is full, we will append the request, |
@@ -2749,9 +2749,9 @@ _scsih_tm_tr_send(struct MPT2SAS_ADAPTER *ioc, u16 handle) | |||
2749 | * @reply: reply message frame(lower 32bit addr) | 2749 | * @reply: reply message frame(lower 32bit addr) |
2750 | * Context: interrupt time. | 2750 | * Context: interrupt time. |
2751 | * | 2751 | * |
2752 | * This is the sas iounit controll completion routine. | 2752 | * This is the sas iounit control completion routine. |
2753 | * This code is part of the code to initiate the device removal | 2753 | * This code is part of the code to initiate the device removal |
2754 | * handshake protocal with controller firmware. | 2754 | * handshake protocol with controller firmware. |
2755 | * | 2755 | * |
2756 | * Return 1 meaning mf should be freed from _base_interrupt | 2756 | * Return 1 meaning mf should be freed from _base_interrupt |
2757 | * 0 means the mf is freed from this function. | 2757 | * 0 means the mf is freed from this function. |
@@ -2878,8 +2878,8 @@ _scsih_tm_volume_tr_complete(struct MPT2SAS_ADAPTER *ioc, u16 smid, | |||
2878 | * | 2878 | * |
2879 | * This is the target reset completion routine. | 2879 | * This is the target reset completion routine. |
2880 | * This code is part of the code to initiate the device removal | 2880 | * This code is part of the code to initiate the device removal |
2881 | * handshake protocal with controller firmware. | 2881 | * handshake protocol with controller firmware. |
2882 | * It will send a sas iounit controll request (MPI2_SAS_OP_REMOVE_DEVICE) | 2882 | * It will send a sas iounit control request (MPI2_SAS_OP_REMOVE_DEVICE) |
2883 | * | 2883 | * |
2884 | * Return 1 meaning mf should be freed from _base_interrupt | 2884 | * Return 1 meaning mf should be freed from _base_interrupt |
2885 | * 0 means the mf is freed from this function. | 2885 | * 0 means the mf is freed from this function. |
@@ -2984,7 +2984,7 @@ _scsih_check_for_pending_tm(struct MPT2SAS_ADAPTER *ioc, u16 smid) | |||
2984 | * | 2984 | * |
2985 | * This routine added to better handle cable breaker. | 2985 | * This routine added to better handle cable breaker. |
2986 | * | 2986 | * |
2987 | * This handles the case where driver recieves multiple expander | 2987 | * This handles the case where driver receives multiple expander |
2988 | * add and delete events in a single shot. When there is a delete event | 2988 | * add and delete events in a single shot. When there is a delete event |
2989 | * the routine will void any pending add events waiting in the event queue. | 2989 | * the routine will void any pending add events waiting in the event queue. |
2990 | * | 2990 | * |
@@ -3511,7 +3511,7 @@ _scsih_normalize_sense(char *sense_buffer, struct sense_info *data) | |||
3511 | 3511 | ||
3512 | #ifdef CONFIG_SCSI_MPT2SAS_LOGGING | 3512 | #ifdef CONFIG_SCSI_MPT2SAS_LOGGING |
3513 | /** | 3513 | /** |
3514 | * _scsih_scsi_ioc_info - translated non-successfull SCSI_IO request | 3514 | * _scsih_scsi_ioc_info - translated non-successful SCSI_IO request |
3515 | * @ioc: per adapter object | 3515 | * @ioc: per adapter object |
3516 | * @scmd: pointer to scsi command object | 3516 | * @scmd: pointer to scsi command object |
3517 | * @mpi_reply: reply mf payload returned from firmware | 3517 | * @mpi_reply: reply mf payload returned from firmware |
@@ -5138,7 +5138,7 @@ _scsih_sas_broadcast_primative_event(struct MPT2SAS_ADAPTER *ioc, | |||
5138 | unsigned long flags; | 5138 | unsigned long flags; |
5139 | int r; | 5139 | int r; |
5140 | 5140 | ||
5141 | dewtprintk(ioc, printk(MPT2SAS_INFO_FMT "broadcast primative: " | 5141 | dewtprintk(ioc, printk(MPT2SAS_INFO_FMT "broadcast primitive: " |
5142 | "phy number(%d), width(%d)\n", ioc->name, event_data->PhyNum, | 5142 | "phy number(%d), width(%d)\n", ioc->name, event_data->PhyNum, |
5143 | event_data->PortWidth)); | 5143 | event_data->PortWidth)); |
5144 | dtmprintk(ioc, printk(MPT2SAS_INFO_FMT "%s: enter\n", ioc->name, | 5144 | dtmprintk(ioc, printk(MPT2SAS_INFO_FMT "%s: enter\n", ioc->name, |