diff options
Diffstat (limited to 'sys/dev/isci/scil')
44 files changed, 95 insertions, 95 deletions
diff --git a/sys/dev/isci/scil/intel_sas.h b/sys/dev/isci/scil/intel_sas.h index 18fa8d3b370e..e2bd8ee8badb 100644 --- a/sys/dev/isci/scil/intel_sas.h +++ b/sys/dev/isci/scil/intel_sas.h @@ -465,7 +465,7 @@ typedef struct SMP_REQUEST_CONFIGURE_ROUTE_INFORMATION /** * @struct SMP_REQUEST_PHY_CONTROL - * @brief This structure defines the contents of an SMP Phy Controler + * @brief This structure defines the contents of an SMP Phy Controller * request. * @note For specific information on each of these * individual fields please reference the SAS specification. diff --git a/sys/dev/isci/scil/sati_callbacks.h b/sys/dev/isci/scil/sati_callbacks.h index e6cd57fa8bd2..2364e42b01af 100644 --- a/sys/dev/isci/scil/sati_callbacks.h +++ b/sys/dev/isci/scil/sati_callbacks.h @@ -173,7 +173,7 @@ U8 sati_cb_get_task_function( * response IU buffer. * * @param[in] scsi_io This parameter specifies the user's SCSI IO request - * for which to retreive the location of the response buffer to + * for which to retrieve the location of the response buffer to * be written. * * @return This method returns the address of the response data buffer. @@ -189,7 +189,7 @@ void * sati_cb_get_response_iu_address( * buffer. * * @param[in] scsi_io This parameter specifies the user's SCSI IO request - * for which to retreive the location of the sense buffer to + * for which to retrieve the location of the sense buffer to * be written. * * @return This method returns the address of the sense data buffer. @@ -203,7 +203,7 @@ U8* sati_cb_get_sense_data_address( * buffer. * * @param[in] scsi_io This parameter specifies the user's SCSI IO request - * for which to retreive the location of the sense buffer to + * for which to retrieve the location of the sense buffer to * be written. * * @return This method returns the length of the sense data buffer. @@ -246,7 +246,7 @@ U8 * sati_cb_get_h2d_register_fis_address( /** * @brief This method retrieves the ATA task file (register FIS) relating to - * the device to host reponse values. + * the device to host response values. * * @param[in] ata_io This parameter specifies the user's ATA IO request * from which to retrieve the d2h register FIS address. @@ -374,7 +374,7 @@ BOOL sati_cb_do_translate_response( * associated device is contained in a SAS Domain. * * @param[in] scsi_io This parameter specifies the user's SCSI IO request - * for which to retreive the SAS address of the device. + * for which to retrieve the SAS address of the device. * @param[out] sas_address This parameter specifies the SAS address memory * to be contain the retrieved value. * diff --git a/sys/dev/isci/scil/sati_design.h b/sys/dev/isci/scil/sati_design.h index f4f22483285d..372dce0f7d29 100644 --- a/sys/dev/isci/scil/sati_design.h +++ b/sys/dev/isci/scil/sati_design.h @@ -151,7 +151,7 @@ be followed for command translations. @image html Sequence_Diagram__General_Cmd_Translation_Sequence__General_Cmd_Translation_Sequence.jpg "General Command Translation Sequence" This sequence diagram simply depicts the high-level translation sequence to -be followed for reponse translations. +be followed for response translations. @image html Sequence_Diagram__General_Rsp_Translation_Sequence__General_Rsp_Translation_Sequence.jpg "General Response Translation Sequence" diff --git a/sys/dev/isci/scil/sati_device.h b/sys/dev/isci/scil/sati_device.h index 980ca4426563..d955f83cda51 100644 --- a/sys/dev/isci/scil/sati_device.h +++ b/sys/dev/isci/scil/sati_device.h @@ -151,7 +151,7 @@ typedef struct SATI_DEVICE U8 unit_attention_ascq; /** - * This field indicates the ATA standby timer value set throught the + * This field indicates the ATA standby timer value set through the * ATA IDLE and ATA Standby commands */ U8 ata_standby_timer; diff --git a/sys/dev/isci/scil/sati_log_sense.c b/sys/dev/isci/scil/sati_log_sense.c index 44bc4e91afab..04c489411d8f 100644 --- a/sys/dev/isci/scil/sati_log_sense.c +++ b/sys/dev/isci/scil/sati_log_sense.c @@ -394,7 +394,7 @@ void sati_self_test_log_header_construct( /** * @brief This method will construct the SCSI self test log page from - * the Extended SMART self-test log response recieved from the + * the Extended SMART self-test log response received from the * ATA device. The response is from a ATA_Read_Log_EXT command * issued by SATI. * @@ -427,7 +427,7 @@ void sati_extended_self_test_log_page_construct( /** * @brief This method will construct the SCSI self test log page from -* the SMART self-test log response recieved from the ATA device. +* the SMART self-test log response received from the ATA device. * The response is from a ATA_SMART_Read_Log command issued by SATI. * * @return n/a @@ -513,7 +513,7 @@ void sati_self_test_log_page_construct( /** * @brief This method will construct the SCSI information exception log page from -* the ATA SMART response recieved from the ATA device. The response is +* the ATA SMART response received from the ATA device. The response is * from a ATA SMART return status command issued by SATI. * * @return n/a diff --git a/sys/dev/isci/scil/sati_move.c b/sys/dev/isci/scil/sati_move.c index 630a9f8ac7ca..9b1e8dc2db3b 100644 --- a/sys/dev/isci/scil/sati_move.c +++ b/sys/dev/isci/scil/sati_move.c @@ -147,7 +147,7 @@ void sati_move_small_udma_translate_command( * please reference sati_translate_command() * * @param[in] sector_count This parameter specifies the number of sectors - * to be transfered. + * to be transferred. * @param[in] write_opcode This parameter specifies the value to be written * to the ATA command register for a write (data out) operation. * @param[in] read_opcode This parameter specifies the value to be written @@ -220,7 +220,7 @@ void sati_move_ncq_translate_8_bit_sector_count( * @note This method should only be called for CDB sizes of 10-bytes or larger. * * @param[in] sector_count This parameter specifies the number of sectors - * to be transfered. + * to be transferred. * @param[in] is_fpdma_command This parameter indicates if the supplied * ata_io is a first party DMA request (NCQ). * @@ -491,7 +491,7 @@ SATI_STATUS sati_move_small_translate_command( * please reference sati_translate_command(). * * @param[in] sector_count This parameter specifies the number of sectors - * to be transfered. + * to be transferred. * @param[in] device_head This parameter specifies the contents to be * written to the device head register. * diff --git a/sys/dev/isci/scil/sati_translator_sequence.h b/sys/dev/isci/scil/sati_translator_sequence.h index 4bd63a74f2ef..dba53260bc7e 100644 --- a/sys/dev/isci/scil/sati_translator_sequence.h +++ b/sys/dev/isci/scil/sati_translator_sequence.h @@ -57,7 +57,7 @@ /** * @file * @brief This file contains all of the defintions for the SATI translator - * sequence. A translator sequence is simply a defintion for the + * sequence. A translator sequence is simply a definition for the * various sequences of commands that occur in this translator. */ @@ -310,7 +310,7 @@ typedef struct SATI_TRANSLATOR_SEQUENCE /** * This field specifies the amount of data that will actually be - * transfered across the wire for this ATA request. + * transferred across the wire for this ATA request. */ U32 ata_transfer_length; diff --git a/sys/dev/isci/scil/sati_util.c b/sys/dev/isci/scil/sati_util.c index 18c10c82a227..90b9bfa4d8f7 100644 --- a/sys/dev/isci/scil/sati_util.c +++ b/sys/dev/isci/scil/sati_util.c @@ -1790,7 +1790,7 @@ void sati_ata_smart_read_log_construct( /** * @brief This method will construct a Write Uncorrectable ATA command that - * will write one sector with a psuedo or flagged error. The type of + * will write one sector with a pseudo or flagged error. The type of * error is specified by the feature value. * * @return N/A diff --git a/sys/dev/isci/scil/sci_base_phy.h b/sys/dev/isci/scil/sci_base_phy.h index 141b47a2693a..914a11007385 100644 --- a/sys/dev/isci/scil/sci_base_phy.h +++ b/sys/dev/isci/scil/sci_base_phy.h @@ -93,7 +93,7 @@ typedef enum _SCI_BASE_PHY_STATES SCI_BASE_PHY_STATE_STOPPED, /** - * This state indicates that the phy is in the process of becomming + * This state indicates that the phy is in the process of becoming * ready. In this state no new IO operations are permitted on this phy. * This state is entered from the STOPPED state. * This state is entered from the READY state. diff --git a/sys/dev/isci/scil/sci_fast_list.h b/sys/dev/isci/scil/sci_fast_list.h index a7f166d241bd..0325fadf0ff8 100644 --- a/sys/dev/isci/scil/sci_fast_list.h +++ b/sys/dev/isci/scil/sci_fast_list.h @@ -67,7 +67,7 @@ * queue. Pointers in this implementation never == NULL. * * Definitions: - * - anchor : This is ths list container and has a + * - anchor : This is the list container and has a * pointer to both the head and tail of the * list elements * - element: This is the list element not the actual diff --git a/sys/dev/isci/scil/sci_simple_list.h b/sys/dev/isci/scil/sci_simple_list.h index 98d29e13b06a..9c0848a52fcc 100644 --- a/sys/dev/isci/scil/sci_simple_list.h +++ b/sys/dev/isci/scil/sci_simple_list.h @@ -305,7 +305,7 @@ static void sci_simple_list_insert_list_at_head( } // Wipe the source list to make sure the list elements can not be accessed - // from two seperate lists at the same time. + // from two separate lists at the same time. sci_simple_list_init(source_anchor); } } @@ -342,7 +342,7 @@ static void sci_simple_list_insert_list_at_tail( } // Wipe the source list to make sure the list elements can not be accessed - // from two seperate lists at the same time. + // from two separate lists at the same time. sci_simple_list_init(source_anchor); } } diff --git a/sys/dev/isci/scil/scic_config_parameters.h b/sys/dev/isci/scil/scic_config_parameters.h index 1c6c86c9f0ea..969cd30350fe 100644 --- a/sys/dev/isci/scil/scic_config_parameters.h +++ b/sys/dev/isci/scil/scic_config_parameters.h @@ -323,7 +323,7 @@ SCI_STATUS scic_oem_parameters_set( ); /** - * @brief This method allows the user to retreive the OEM + * @brief This method allows the user to retrieve the OEM * parameters utilized by the controller. * * @param[in] controller This parameter specifies the controller on which diff --git a/sys/dev/isci/scil/scic_controller.h b/sys/dev/isci/scil/scic_controller.h index 75804c75795b..31c94af6d1f8 100644 --- a/sys/dev/isci/scil/scic_controller.h +++ b/sys/dev/isci/scil/scic_controller.h @@ -133,7 +133,7 @@ typedef BOOL (*SCIC_CONTROLLER_INTERRUPT_HANDLER)( * called some time after the interrupt handler. * * @note Most, if not all, of the user callback APIs are invoked from within - * this API. As a result, the user should be cognizent of the operating + * this API. As a result, the user should be cognizant of the operating * level at which they invoke this API. * */ diff --git a/sys/dev/isci/scil/scic_sds_controller.c b/sys/dev/isci/scil/scic_sds_controller.c index 413ef5bacef7..767f89c04e3c 100644 --- a/sys/dev/isci/scil/scic_sds_controller.c +++ b/sys/dev/isci/scil/scic_sds_controller.c @@ -1077,7 +1077,7 @@ void scic_sds_controller_afe_initialization( scu_afe_register_write(this_controller, afe_bias_control, 0x00005F00); else if (this_controller->pci_revision == SCIC_SDS_PCI_REVISION_C1) scu_afe_register_write(this_controller, afe_bias_control, 0x00005500); - // For C0 the AFE BIAS Controll is unchanged + // For C0 the AFE BIAS Control is unchanged scic_cb_stall_execution(AFE_REGISTER_WRITE_DELAY); @@ -2429,7 +2429,7 @@ void scic_sds_controller_process_completions( SCIC_LOG_TRACE(( sci_base_object_get_logger(this_controller), SCIC_LOG_OBJECT_COMPLETION_QUEUE, - "completion queue begining get : 0x%08x\n", + "completion queue beginning get : 0x%08x\n", this_controller->completion_queue_get )); @@ -2544,7 +2544,7 @@ void scic_sds_controller_transitioned_process_completions( SCIC_LOG_TRACE(( sci_base_object_get_logger(this_controller), SCIC_LOG_OBJECT_COMPLETION_QUEUE, - "completion queue begining get : 0x%08x\n", + "completion queue beginning get : 0x%08x\n", this_controller->completion_queue_get )); diff --git a/sys/dev/isci/scil/scic_sds_controller.h b/sys/dev/isci/scil/scic_sds_controller.h index 9829a7b41fc5..fe3468f157d9 100644 --- a/sys/dev/isci/scil/scic_sds_controller.h +++ b/sys/dev/isci/scil/scic_sds_controller.h @@ -247,7 +247,7 @@ typedef struct SCIC_SDS_CONTROLLER SCI_POOL_CREATE(tci_pool, U16, SCI_MAX_IO_REQUESTS); /** - * This filed is the SCIC_POWER_CONTROL data used to controll when direct + * This filed is the SCIC_POWER_CONTROL data used to control when direct * attached devices can consume power. */ SCIC_POWER_CONTROL_T power_control; @@ -371,7 +371,7 @@ typedef struct SCIC_SDS_CONTROLLER U32 next_phy_to_start; /** - * This field controlls the invalid link up notifications to the SCI_USER. If + * This field controls the invalid link up notifications to the SCI_USER. If * an invalid_link_up notification is reported a bit for the PHY index is set * so further notifications are not made. Once the PHY object reports link up * and is made part of a port then this bit for the PHY index is cleared. diff --git a/sys/dev/isci/scil/scic_sds_phy_registers.h b/sys/dev/isci/scil/scic_sds_phy_registers.h index 14a6be5f3a21..24ed608d291c 100644 --- a/sys/dev/isci/scil/scic_sds_phy_registers.h +++ b/sys/dev/isci/scil/scic_sds_phy_registers.h @@ -241,7 +241,7 @@ extern "C" { #define SCU_SAS_PHYCAP_WRITE(phy, value) \ scu_link_layer_register_write(phy, phy_capabilities, value) -/// This macro reads the Recieved PHY Capacity register +/// This macro reads the Received PHY Capacity register #define SCU_SAS_RECPHYCAP_READ(phy) \ scu_link_layer_register_read(phy, receive_phycap) diff --git a/sys/dev/isci/scil/scic_sds_port.c b/sys/dev/isci/scil/scic_sds_port.c index 59940f0035b9..42993a349465 100644 --- a/sys/dev/isci/scil/scic_sds_port.c +++ b/sys/dev/isci/scil/scic_sds_port.c @@ -584,7 +584,7 @@ void scic_sds_port_get_attached_protocols( } /** - * @brief This method returns the amount of memory requred for a port + * @brief This method returns the amount of memory required for a port * object. * * @return U32 @@ -3013,7 +3013,7 @@ SCI_STATUS scic_sds_port_ready_waiting_substate_start_io_handler( //**************************************************************************** /** - * This method will casue the port to reset. + * This method will cause the port to reset. * * @param[in] port This is the SCI_BASE_PORT object which is cast into a * SCIC_SDS_PORT object. diff --git a/sys/dev/isci/scil/scic_sds_port.h b/sys/dev/isci/scil/scic_sds_port.h index b07997b2636d..321f6674ec63 100644 --- a/sys/dev/isci/scil/scic_sds_port.h +++ b/sys/dev/isci/scil/scic_sds_port.h @@ -214,7 +214,7 @@ typedef struct SCIC_SDS_PORT SCU_PORT_PE_CONFIGURATION_REGISTER_T *port_pe_configuration_register; /** - * This field is the VIIT register space for ths port object. + * This field is the VIIT register space for this port object. */ SCU_VIIT_ENTRY_T *viit_registers; diff --git a/sys/dev/isci/scil/scic_sds_port_configuration_agent.c b/sys/dev/isci/scil/scic_sds_port_configuration_agent.c index a6f66a319112..95e442ff1ebf 100644 --- a/sys/dev/isci/scil/scic_sds_port_configuration_agent.c +++ b/sys/dev/isci/scil/scic_sds_port_configuration_agent.c @@ -772,7 +772,7 @@ void scic_sds_apc_agent_configure_ports( // Check to see if the start timer operations should instead map to an // add phy operation. This is caused because we have been waiting to - // add a phy to a port but could not becuase the automatic port + // add a phy to a port but could not because the automatic port // configuration engine had a choice of possible ports for the phy. // Since we have gone through a timeout we are going to restrict the // choice to the smallest possible port. @@ -849,7 +849,7 @@ void scic_sds_apc_agent_link_up( //the phy is already the part of the port //if the PORT'S state is resetting then the link up is from port hard reset - //in this case, we need to tell the port that link up is recieved + //in this case, we need to tell the port that link up is received if ( SCI_BASE_PORT_STATE_RESETTING == port->parent.state_machine.current_state_id ) diff --git a/sys/dev/isci/scil/scic_sds_remote_device.c b/sys/dev/isci/scil/scic_sds_remote_device.c index e68363025e46..efc2f18c0a4b 100644 --- a/sys/dev/isci/scil/scic_sds_remote_device.c +++ b/sys/dev/isci/scil/scic_sds_remote_device.c @@ -2375,7 +2375,7 @@ SCIC_SDS_REMOTE_DEVICE_STATE_HANDLER_T /** * This is the enter method for the SCI_BASE_REMOTE_DEVICE_STATE_INITIAL it - * immediatly transitions the remote device object to the stopped state. + * immediately transitions the remote device object to the stopped state. * * @param[in] object This is the SCI_BASE_OBJECT that is cast into a * SCIC_SDS_REMOTE_DEVICE. diff --git a/sys/dev/isci/scil/scic_sds_remote_node_context.c b/sys/dev/isci/scil/scic_sds_remote_node_context.c index c2ec1c21e32e..473b4763dd6c 100644 --- a/sys/dev/isci/scil/scic_sds_remote_node_context.c +++ b/sys/dev/isci/scil/scic_sds_remote_node_context.c @@ -302,7 +302,7 @@ void scic_sds_remote_node_context_setup_to_resume( /** * This method will setup the remote node context object so it will -* transistion to its final state. +* transition to its final state. * * @param[in] this_rnc * @param[in] the_callback diff --git a/sys/dev/isci/scil/scic_sds_remote_node_table.c b/sys/dev/isci/scil/scic_sds_remote_node_table.c index d159f27e4634..2c287bd90497 100644 --- a/sys/dev/isci/scil/scic_sds_remote_node_table.c +++ b/sys/dev/isci/scil/scic_sds_remote_node_table.c @@ -138,7 +138,7 @@ void scic_sds_remote_node_table_clear_group_index( } /** - * This method will set the group index bit entry in the specified gropu index + * This method will set the group index bit entry in the specified group index * table. * * @param[in out] remote_node_table This the remote node table in which to set diff --git a/sys/dev/isci/scil/scic_sds_request.c b/sys/dev/isci/scil/scic_sds_request.c index f126e5876e39..3e85785042e0 100644 --- a/sys/dev/isci/scil/scic_sds_request.c +++ b/sys/dev/isci/scil/scic_sds_request.c @@ -94,7 +94,7 @@ __FBSDID("$FreeBSD$"); /** * @struct SCI_SINGLE_LEVEL_LUN * -* @brief this struct decribes the single level LUN structure +* @brief this struct describes the single level LUN structure * as per the SAM 4. */ typedef struct SCI_SINGLE_LEVEL_LUN @@ -842,7 +842,7 @@ void scic_sds_ssp_task_request_assign_buffers( * -# task_type == SCU_TASK_TYPE_IOREAD. This simply indicates * that a normal request type (i.e. non-raw frame) is being * utilized to perform task management. - * -# control_frame == 1. This ensures that the proper endianess + * -# control_frame == 1. This ensures that the proper endianness * is set so that the bytes are transmitted in the right order * for a task frame. * @@ -2116,7 +2116,7 @@ SCI_STATUS scic_sds_request_started_state_abort_handler( * @param[in] this_request This parameter specifies the request for which * a completion occurred. * @param[in] completion_code This parameter specifies the completion code - * recieved from the SCU. + * received from the SCU. * * @return none */ @@ -2706,7 +2706,7 @@ void scic_sds_request_constructed_state_enter( * SCSI Task request we must enter the started substate machine. * * @param[in] object This parameter specifies the base object for which the - * state transition is occuring. This is cast into a + * state transition is occurring. This is cast into a * SCIC_SDS_IO_REQUEST object. * * @return none @@ -2736,7 +2736,7 @@ void scic_sds_request_started_state_enter( * to stop the started substate machine. * * @param[in] object This parameter specifies the base object for which the - * state transition is occuring. This object is cast into a + * state transition is occurring. This object is cast into a * SCIC_SDS_IO_REQUEST object. * * @return none @@ -2760,7 +2760,7 @@ void scic_sds_request_started_state_exit( * completion callback function. * * @param[in] object This parameter specifies the base object for which the - * state transition is occuring. This object is cast into a + * state transition is occurring. This object is cast into a * SCIC_SDS_IO_REQUEST object. * * @return none @@ -2804,7 +2804,7 @@ void scic_sds_request_completed_state_enter( * SCI_BASE_REQUEST_STATE_ABORTING state. * * @param[in] object This parameter specifies the base object for which the - * state transition is occuring. This object is cast into a + * state transition is occurring. This object is cast into a * SCIC_SDS_IO_REQUEST object. * * @return none @@ -2832,7 +2832,7 @@ void scic_sds_request_aborting_state_enter( * state handlers in place. * * @param[in] object This parameter specifies the base object for which the - * state transition is occuring. This is cast into a + * state transition is occurring. This is cast into a * SCIC_SDS_IO_REQUEST object. * * @return none diff --git a/sys/dev/isci/scil/scic_sds_smp_request.c b/sys/dev/isci/scil/scic_sds_smp_request.c index d6990e5bedc9..ea92782fbfd8 100644 --- a/sys/dev/isci/scil/scic_sds_smp_request.c +++ b/sys/dev/isci/scil/scic_sds_smp_request.c @@ -352,7 +352,7 @@ SCI_STATUS scic_io_request_construct_smp_pass_through( * -# task_type == SCU_TASK_TYPE_SMP. This simply indicates * that a normal request type (i.e. non-raw frame) is being * utilized to perform task management. - * -# control_frame == 1. This ensures that the proper endianess + * -# control_frame == 1. This ensures that the proper endianness * is set so that the bytes are transmitted in the right order * for a smp request frame. * @@ -811,7 +811,7 @@ scic_sds_smp_request_started_substate_handler_table * sub-state. * * @param[in] object This parameter specifies the request object for which - * the sub-state change is occuring. + * the sub-state change is occurring. * * @return none. */ @@ -836,7 +836,7 @@ void scic_sds_smp_request_started_await_response_substate_enter( * this sub-state. * * @param[in] object This parameter specifies the request object for which - * the sub-state change is occuring. + * the sub-state change is occurring. * * @return none. */ diff --git a/sys/dev/isci/scil/scic_sds_ssp_request.c b/sys/dev/isci/scil/scic_sds_ssp_request.c index 086f479407d6..c7a67acf0a04 100644 --- a/sys/dev/isci/scil/scic_sds_ssp_request.c +++ b/sys/dev/isci/scil/scic_sds_ssp_request.c @@ -279,7 +279,7 @@ scic_sds_ssp_task_request_started_substate_handler_table * for this sub-state. * * @param[in] object This parameter specifies the request object for which - * the sub-state change is occuring. + * the sub-state change is occurring. * * @return none. */ @@ -304,7 +304,7 @@ void scic_sds_io_request_started_task_mgmt_await_tc_completion_substate_enter( * sub-state. * * @param[in] object This parameter specifies the request object for which - * the sub-state change is occuring. + * the sub-state change is occurring. * * @return none. */ diff --git a/sys/dev/isci/scil/scic_sds_stp_packet_request.c b/sys/dev/isci/scil/scic_sds_stp_packet_request.c index b29a4e84941b..42a7497b7ad0 100644 --- a/sys/dev/isci/scil/scic_sds_stp_packet_request.c +++ b/sys/dev/isci/scil/scic_sds_stp_packet_request.c @@ -124,7 +124,7 @@ SCI_STATUS scic_sds_stp_packet_request_construct( * -# task_type == SCU_TASK_TYPE_PACKET_DMA. This simply indicates * that a normal request type (i.e. non-raw frame) is being * utilized to perform task management. - * -# control_frame == 1. This ensures that the proper endianess + * -# control_frame == 1. This ensures that the proper endianness * is set so that the bytes are transmitted in the right order * for a smp request frame. * @@ -454,7 +454,7 @@ SCI_STATUS scic_sds_stp_packet_request_packet_phase_await_pio_setup_frame_handle * @brief This method processes the completions transport layer (TL) status * to determine if the PACKET command data FIS was sent successfully. * If successfully, then the state for the packet request - * transits to COMPLETE state. If not successfuly, the request transits + * transits to COMPLETE state. If not successfully, the request transits * to COMMAND_PHASE_AWAIT_D2H_FIS_SUBSTATE. * * @param[in] this_request This parameter specifies the request for which diff --git a/sys/dev/isci/scil/scic_sds_stp_remote_device.c b/sys/dev/isci/scil/scic_sds_stp_remote_device.c index 49511c9f3a6d..8eb511f93136 100644 --- a/sys/dev/isci/scil/scic_sds_stp_remote_device.c +++ b/sys/dev/isci/scil/scic_sds_stp_remote_device.c @@ -424,7 +424,7 @@ SCI_STATUS scic_sds_stp_remote_device_ready_ncq_substate_event_handler( this_device, event_code, sci_base_state_machine_get_state(&this_device->ready_substate_machine) )); - // Since we didnt expect to get here start the device again. + // Since we didn't expect to get here start the device again. status = scic_sds_remote_device_resume(this_device); break; diff --git a/sys/dev/isci/scil/scic_sds_stp_request.c b/sys/dev/isci/scil/scic_sds_stp_request.c index f3fe28ddd4c9..5a2612cf588d 100644 --- a/sys/dev/isci/scil/scic_sds_stp_request.c +++ b/sys/dev/isci/scil/scic_sds_stp_request.c @@ -337,7 +337,7 @@ void scu_sata_reqeust_construct_task_context( // Copy the physical address for the command buffer to the SCU Task Context // We must offset the command buffer by 4 bytes because the first 4 bytes are - // transfered in the body of the TC + // transferred in the body of the TC scic_cb_io_request_get_physical_address( scic_sds_request_get_controller(this_request), this_request, @@ -398,7 +398,7 @@ void scic_sds_stp_optimized_request_construct( // Build the STP task context structure scu_sata_reqeust_construct_task_context(this_request, task_context); - // Copy over the number of bytes to be transfered + // Copy over the number of bytes to be transferred task_context->transfer_length_bytes = transfer_length; if ( data_direction == SCI_IO_REQUEST_DATA_OUT ) @@ -1267,7 +1267,7 @@ SCI_STATUS scic_sds_stp_request_pio_data_in_copy_data( } else { - // We are transfering the whole frame so copy + // We are transferring the whole frame so copy status = scic_sds_stp_request_pio_data_in_copy_data_buffer( this_request, data_buffer, SCU_MAX_FRAME_BUFFER_SIZE); @@ -1667,7 +1667,7 @@ SCI_STATUS scic_sds_stp_request_pio_data_out_await_data_transmit_completion_tc_c } else if (this_scic_sds_stp_request->type.pio.pio_transfer_bytes == 0) { - //this will happen if the all data is written at the first time after the pio setup fis is recieved + //this will happen if the all data is written at the first time after the pio setup fis is received all_frames_transferred = TRUE; } diff --git a/sys/dev/isci/scil/scic_sds_stp_request.h b/sys/dev/isci/scil/scic_sds_stp_request.h index 20b53abafa1d..5d57acfcf1b7 100644 --- a/sys/dev/isci/scil/scic_sds_stp_request.h +++ b/sys/dev/isci/scil/scic_sds_stp_request.h @@ -83,7 +83,7 @@ typedef struct SCIC_SDS_STP_REQUEST struct { /** - * Total transfer for the entire PIO request recorded at request constuction + * Total transfer for the entire PIO request recorded at request construction * time. * * @todo Should we just decrement this value for each byte of data transitted diff --git a/sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c b/sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c index 2c79b7725eaa..f3fd91ad8dc3 100644 --- a/sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c +++ b/sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c @@ -279,7 +279,7 @@ SCI_STATUS scic_sds_unsolicited_frame_control_get_header( { if (frame_index < uf_control->address_table.count) { - // Skip the first word in the frame since this is a controll word used + // Skip the first word in the frame since this is a control word used // by the hardware. *frame_header = &uf_control->buffers.array[frame_index].header->data; diff --git a/sys/dev/isci/scil/scic_task_request.h b/sys/dev/isci/scil/scic_task_request.h index 41f57fc5562f..0b93972e8a68 100644 --- a/sys/dev/isci/scil/scic_task_request.h +++ b/sys/dev/isci/scil/scic_task_request.h @@ -73,7 +73,7 @@ extern "C" { /** * @brief This method simply returns the size required to build an SCI - * based task managment request object. + * based task management request object. * * @return Return the size of the SCIC task request object. */ diff --git a/sys/dev/isci/scil/scic_user_callback.h b/sys/dev/isci/scil/scic_user_callback.h index c8f2bdc12229..3f75c7816a67 100644 --- a/sys/dev/isci/scil/scic_user_callback.h +++ b/sys/dev/isci/scil/scic_user_callback.h @@ -96,7 +96,7 @@ void * scic_cb_timer_create( ); /** - * @brief This callback method asks the user to destory the supplied timer. + * @brief This callback method asks the user to destroy the supplied timer. * * @param[in] controller This parameter specifies the controller with * which this timer is to associated. @@ -277,7 +277,7 @@ void scic_cb_task_request_complete( * handle. * @param[in] io_request This parameter is the io request object handle * for which the physical address is being requested. - * @param[in] virtual_address This paramter is the virtual address which + * @param[in] virtual_address This parameter is the virtual address which * is to be returned as a physical address. * @param[out] physical_address The physical address for the supplied virtual * address. @@ -294,14 +294,14 @@ void scic_cb_io_request_get_physical_address( /** * @brief This callback method asks the user to provide the number of - * bytes to be transfered as part of this request. + * bytes to be transferred as part of this request. * * @param[in] scic_user_io_request This parameter points to the user's * IO request object. It is a cookie that allows the user to * provide the necessary information for this callback. * * @return This method returns the number of payload data bytes to be - * transfered for this IO request. + * transferred for this IO request. */ U32 scic_cb_io_request_get_transfer_length( void * scic_user_io_request @@ -1117,7 +1117,7 @@ void scic_cb_controller_error( * the CDB address. * @param[in] scic_user_io_request * - * @return The cdb adress. + * @return The cdb address. */ void * scic_cb_stp_packet_io_request_get_cdb_address( void * scic_user_io_request diff --git a/sys/dev/isci/scil/scif_config_parameters.h b/sys/dev/isci/scil/scif_config_parameters.h index 71965fdb953f..d5d15bf906cf 100644 --- a/sys/dev/isci/scil/scif_config_parameters.h +++ b/sys/dev/isci/scil/scif_config_parameters.h @@ -116,7 +116,7 @@ typedef struct SCIF_SAS_USER_PARAMETERS /** * This field indicates the os/user recommends ignoring fua in translation - * for perfromance reasons. + * for performance reasons. */ BOOL ignore_fua; diff --git a/sys/dev/isci/scil/scif_domain.h b/sys/dev/isci/scil/scif_domain.h index ee639c80f09b..73ca775ef546 100644 --- a/sys/dev/isci/scil/scif_domain.h +++ b/sys/dev/isci/scil/scif_domain.h @@ -87,7 +87,7 @@ SCI_PORT_HANDLE_T scif_domain_get_scic_port_handle( ); /** - * @brief This method will find and retreive the device associated with the + * @brief This method will find and retrieve the device associated with the * supplied SAS address if such a device exists. * * @param[in] domain This parameter specifies the framework domain object diff --git a/sys/dev/isci/scil/scif_io_request.h b/sys/dev/isci/scil/scif_io_request.h index 41647d1c73f5..69d86eed7070 100644 --- a/sys/dev/isci/scil/scif_io_request.h +++ b/sys/dev/isci/scil/scif_io_request.h @@ -81,13 +81,13 @@ U32 scif_io_request_get_object_size( ); /** -* @brief This method simply the number of data bytes transfered for a +* @brief This method simply the number of data bytes transferred for a * STP or SSP io request. * * @param[in] scif_io_request This parameter specifies the framework IO * handle to retrieve the number of data bytes transferred. * -* @return Return the number of data bytes transfered by the io request +* @return Return the number of data bytes transferred by the io request */ U32 scif_io_request_get_number_of_bytes_transferred( void * scif_io_request diff --git a/sys/dev/isci/scil/scif_sas_design.h b/sys/dev/isci/scil/scif_sas_design.h index 4bc2825d5a44..e847b284ff85 100644 --- a/sys/dev/isci/scil/scif_sas_design.h +++ b/sys/dev/isci/scil/scif_sas_design.h @@ -331,7 +331,7 @@ Please refer to these files directly for further design information: The SCIF SAS SMP REMOTE DEVICE object represents the expander device and fulfills its SMP discover activities. The discover procedure includes a initial discover -phase and a follwoing SATA spinup_hold release phase, if there are expander attached +phase and a following SATA spinup_hold release phase, if there are expander attached SATA device is discovered and in spinup_hold conditon. The SCIF SAS SMP REMOTE DEVICE object also fulfills expander attached device Target Reset (Phy Control) activity. diff --git a/sys/dev/isci/scil/scif_sas_domain.c b/sys/dev/isci/scil/scif_sas_domain.c index 8261e551a3d0..c5a54fad6cd6 100644 --- a/sys/dev/isci/scil/scif_sas_domain.c +++ b/sys/dev/isci/scil/scif_sas_domain.c @@ -642,7 +642,7 @@ void scif_sas_domain_terminate_requests( while (element != NULL) { request = (SCIF_SAS_REQUEST_T*) sci_fast_list_get_object(element); - // The current element may be deleted from the list becasue of + // The current element may be deleted from the list because of // IO completion so advance to the next element early element = sci_fast_list_get_next(element); @@ -1280,7 +1280,7 @@ U8 scif_sas_domain_get_smp_request_count( while (element != NULL) { request = (SCIF_SAS_REQUEST_T*) sci_fast_list_get_object(element); - // The current element may be deleted from the list becasue of + // The current element may be deleted from the list because of // IO completion so advance to the next element early element = sci_fast_list_get_next(element); @@ -1427,7 +1427,7 @@ SCIF_SAS_REMOTE_DEVICE_T * scif_sas_domain_find_next_ea_target_reset( fw_domain )); - //search throught domain's device list to find the first sata device on spinup_hold + //search through domain's device list to find the first sata device on spinup_hold current_element = sci_abstract_list_get_front(&fw_domain->remote_device_list); while (current_element != NULL ) { diff --git a/sys/dev/isci/scil/scif_sas_remote_device_ready_substates.c b/sys/dev/isci/scil/scif_sas_remote_device_ready_substates.c index f13166e154ff..9f6bb4a9df57 100644 --- a/sys/dev/isci/scil/scif_sas_remote_device_ready_substates.c +++ b/sys/dev/isci/scil/scif_sas_remote_device_ready_substates.c @@ -245,7 +245,7 @@ void scif_sas_remote_device_ready_ncq_error_substate_enter( pending_request = (SCIF_SAS_REQUEST_T*) sci_fast_list_get_object(pending_request_element); - // The current element may be deleted from the list becasue of + // The current element may be deleted from the list because of // IO completion so advance to the next element early pending_request_element = sci_fast_list_get_next(pending_request_element); diff --git a/sys/dev/isci/scil/scif_sas_remote_device_state_handlers.c b/sys/dev/isci/scil/scif_sas_remote_device_state_handlers.c index 2a3b9bdc516a..dc6aa4ededd8 100644 --- a/sys/dev/isci/scil/scif_sas_remote_device_state_handlers.c +++ b/sys/dev/isci/scil/scif_sas_remote_device_state_handlers.c @@ -668,7 +668,7 @@ SCI_STATUS scif_sas_remote_device_default_complete_task_handler( * such a notification isn't supported. * * @param[in] remote_device This parameter specifies the remote device object - * for which the completion notification has occured. + * for which the completion notification has occurred. * @param[in] completion_status This parameter specifies the status * of the completion operation. * @@ -694,7 +694,7 @@ void scif_sas_remote_device_default_start_complete_handler( * such a notification isn't supported. * * @param[in] remote_device This parameter specifies the remote device object - * for which the completion notification has occured. + * for which the completion notification has occurred. * @param[in] completion_status This parameter specifies the status * of the completion operation. * @@ -720,7 +720,7 @@ void scif_sas_remote_device_default_stop_complete_handler( * notification isn't supported. * * @param[in] remote_device This parameter specifies the remote device object - * for which the notification has occured. + * for which the notification has occurred. * * @return none. */ @@ -743,7 +743,7 @@ void scif_sas_remote_device_default_ready_handler( * notification isn't supported. * * @param[in] remote_device This parameter specifies the remote device object - * for which the notification has occured. + * for which the notification has occurred. * * @return none. */ diff --git a/sys/dev/isci/scil/scif_sas_stp_remote_device.c b/sys/dev/isci/scil/scif_sas_stp_remote_device.c index 22e5c3ce298e..2ead30495346 100644 --- a/sys/dev/isci/scil/scif_sas_stp_remote_device.c +++ b/sys/dev/isci/scil/scif_sas_stp_remote_device.c @@ -197,7 +197,7 @@ scif_sas_stp_remote_device_get_request_by_ncq_tag( pending_request = (SCIF_SAS_REQUEST_T*) sci_fast_list_get_object(pending_request_element); - // The current element may be deleted from the list becasue of + // The current element may be deleted from the list because of // IO completion so advance to the next element early pending_request_element = sci_fast_list_get_next(pending_request_element); diff --git a/sys/dev/isci/scil/scif_sas_stp_task_request.c b/sys/dev/isci/scil/scif_sas_stp_task_request.c index 0a9f953e83d4..e7680d66e912 100644 --- a/sys/dev/isci/scil/scif_sas_stp_task_request.c +++ b/sys/dev/isci/scil/scif_sas_stp_task_request.c @@ -227,7 +227,7 @@ void scif_sas_stp_task_request_abort_task_set_failure_handler( pending_request = (SCIF_SAS_REQUEST_T*) sci_fast_list_get_object(pending_request_element); - // The current element may be deleted from the list becasue of + // The current element may be deleted from the list because of // IO completion so advance to the next element early pending_request_element = sci_fast_list_get_next(pending_request_element); diff --git a/sys/dev/isci/scil/scif_user_callback.h b/sys/dev/isci/scil/scif_user_callback.h index 54784951b0fc..70ef235a13be 100644 --- a/sys/dev/isci/scil/scif_user_callback.h +++ b/sys/dev/isci/scil/scif_user_callback.h @@ -100,7 +100,7 @@ void * scif_cb_timer_create( ); /** - * @brief This callback method asks the user to destory the supplied timer. + * @brief This callback method asks the user to destroy the supplied timer. * * @param[in] controller This parameter specifies the controller with * which this timer is to associated. @@ -371,14 +371,14 @@ void scif_cb_task_request_complete( /** * @brief This callback method asks the user to provide the number of - * bytes to be transfered as part of this request. + * bytes to be transferred as part of this request. * * @param[in] scif_user_io_request This parameter points to the user's * IO request object. It is a cookie that allows the user to * provide the necessary information for this callback. * * @return This method returns the number of payload data bytes to be - * transfered for this IO request. + * transferred for this IO request. */ U32 scif_cb_io_request_get_transfer_length( void * scif_user_io_request diff --git a/sys/dev/isci/scil/scu_registers.h b/sys/dev/isci/scil/scu_registers.h index 8157c1aadd40..a72c629afd79 100644 --- a/sys/dev/isci/scil/scu_registers.h +++ b/sys/dev/isci/scil/scu_registers.h @@ -913,13 +913,13 @@ typedef char LEX_REGISTERS_T; // To calculate the offset for other functions use // BAR0 + FN# * SystemPageSize * 2 // -// The TCA is only accessable from FN#0 (Physical Function) and each +// The TCA is only accessible from FN#0 (Physical Function) and each // is programmed by (BAR0 + SCU_SMU_TCA_OFFSET + (FN# * 0x04)) or // TCA0 for FN#0 is at BAR0 + 0x0400 // TCA1 for FN#1 is at BAR0 + 0x0404 // etc. // ---------------------------------------------------------------------------- -// Accessable to all FN#s +// Accessible to all FN#s #define SCU_SMU_PCP_OFFSET 0x0000 #define SCU_SMU_AMR_OFFSET 0x0004 #define SCU_SMU_ISR_OFFSET 0x0010 @@ -933,7 +933,7 @@ typedef char LEX_REGISTERS_T; #define SCU_SMU_CQPR_OFFSET 0x0040 #define SCU_SMU_CQGR_OFFSET 0x0044 #define SCU_SMU_CQC_OFFSET 0x0048 -// Accessable to FN#0 only +// Accessible to FN#0 only #define SCU_SMU_RNCLBAR_OFFSET 0x0080 #define SCU_SMU_RNCUBAR_OFFSET 0x0084 #define SCU_SMU_DCC_OFFSET 0x0090 @@ -942,9 +942,9 @@ typedef char LEX_REGISTERS_T; #define SCU_SMU_SCUSRCR_OFFSET 0x009C #define SCU_SMU_SMAW_OFFSET 0x00A0 #define SCU_SMU_SMDW_OFFSET 0x00A4 -// Accessable to FN#0 only +// Accessible to FN#0 only #define SCU_SMU_TCA_OFFSET 0x0400 -// Accessable to all FN#s +// Accessible to all FN#s #define SCU_SMU_MT_MLAR0_OFFSET 0x2000 #define SCU_SMU_MT_MUAR0_OFFSET 0x2004 #define SCU_SMU_MT_MDR0_OFFSET 0x2008 @@ -999,7 +999,7 @@ typedef struct SMU_REGISTERS U32 reserved_5x[4]; U32 reserved_6x[4]; U32 reserved_7x[4]; -// Accessable to FN#0 only +// Accessible to FN#0 only // 0x0080 RNCLBAR U32 remote_node_context_lower; // 0x0084 RNCUBAR @@ -1031,7 +1031,7 @@ typedef struct SMU_REGISTERS U32 reserved_1xx[64]; U32 reserved_2xx[64]; U32 reserved_3xx[64]; -// Accessable to FN#0 only +// Accessible to FN#0 only // 0x0400 TCA U32 task_context_assignment[256]; // MSI-X registers not included diff --git a/sys/dev/isci/scil/scu_task_context.h b/sys/dev/isci/scil/scu_task_context.h index f73ce6453af4..39a639672f3e 100644 --- a/sys/dev/isci/scil/scu_task_context.h +++ b/sys/dev/isci/scil/scu_task_context.h @@ -172,7 +172,7 @@ typedef enum #define SCU_TASK_REGULAR 0 #define SCU_TASK_ABORTED 1 -//direction bit defintion +//direction bit definition /** * @name SATA_DIRECTION */ @@ -483,7 +483,7 @@ typedef struct SCU_SGL_ELEMENT * @brief This structure is the SCU hardware definition of a pair of SGL * elements. * - * The SCU hardware always works on SGL pairs. They are refered to in the DS + * The SCU hardware always works on SGL pairs. They are referred to in the DS * specification as SGL A and SGL B. Each SGL pair is followed by the address * of the next pair. */ @@ -706,7 +706,7 @@ typedef struct SCU_TASK_CONTEXT U32 strict_ordering : 1; /** - * This field indicates the type of endianess to be utilized for the + * This field indicates the type of endianness to be utilized for the * frame. command, task, and response frames utilized control_frame * set to 1. */ @@ -793,7 +793,7 @@ typedef struct SCU_TASK_CONTEXT // OFFSET 0x14 /** - * This filed is set to the number of bytes to be transfered in the request. + * This filed is set to the number of bytes to be transferred in the request. */ U32 transfer_length_bytes : 24; // In terms of bytes @@ -804,7 +804,7 @@ typedef struct SCU_TASK_CONTEXT // OFFSET 0x18-0x2C /** - * This union provides for the protocol specif part of the SCU Task Context. + * This union provides for the protocol specific part of the SCU Task Context. */ union PROTOCOL_CONTEXT type; |