[Midnightbsd-cvs] src [8070] trunk/sys: cleanup a bunch
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Sep 15 18:01:07 EDT 2016
Revision: 8070
http://svnweb.midnightbsd.org/src/?rev=8070
Author: laffer1
Date: 2016-09-15 18:01:07 -0400 (Thu, 15 Sep 2016)
Log Message:
-----------
cleanup a bunch
Modified Paths:
--------------
trunk/sys/dev/buslogic/bt.c
trunk/sys/dev/e1000/e1000_82575.c
trunk/sys/dev/e1000/e1000_ich8lan.c
trunk/sys/dev/isci/scil/sati.c
trunk/sys/dev/isci/scil/sati_callbacks.h
trunk/sys/dev/isci/scil/sci_base_controller.h
trunk/sys/dev/isci/scil/sci_base_domain.h
trunk/sys/dev/isci/scil/sci_base_phy.h
trunk/sys/dev/isci/scil/sci_base_remote_device.h
trunk/sys/dev/isci/scil/scic_io_request.h
trunk/sys/dev/isci/scil/scic_sds_phy.c
trunk/sys/dev/isci/scil/scic_sds_port.h
trunk/sys/dev/isci/scil/scic_sds_remote_node_context.h
trunk/sys/dev/isci/scil/scic_sds_request.c
trunk/sys/dev/isci/scil/scu_bios_definitions.h
trunk/sys/dev/isp/isp_freebsd.c
trunk/sys/dev/mps/mps_sas.c
trunk/sys/kern/subr_unit.c
trunk/sys/vm/vm_pageout.c
Modified: trunk/sys/dev/buslogic/bt.c
===================================================================
--- trunk/sys/dev/buslogic/bt.c 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/buslogic/bt.c 2016-09-15 22:01:07 UTC (rev 8070)
@@ -1,4 +1,4 @@
-/* $MidnightBSD: src/sys/dev/buslogic/bt.c,v 1.2 2008/12/02 02:24:37 laffer1 Exp $ */
+/* $MidnightBSD$ */
/*-
* Generic driver for the BusLogic MultiMaster SCSI host adapters
* Product specific probe and attach routines can be found in:
@@ -1946,7 +1946,7 @@
bt_outb(bt, COMMAND_REG, opcode);
/*
- * Wait for up to 1sec for each byte of the the
+ * Wait for up to 1sec for each byte of the
* parameter list sent to be sent.
*/
timeout = 10000;
Modified: trunk/sys/dev/e1000/e1000_82575.c
===================================================================
--- trunk/sys/dev/e1000/e1000_82575.c 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/e1000/e1000_82575.c 2016-09-15 22:01:07 UTC (rev 8070)
@@ -2283,7 +2283,7 @@
* e1000_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits
* @hw: pointer to the HW structure
*
- * This resets the the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on
+ * This resets the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on
* the values found in the EEPROM. This addresses an issue in which these
* bits are not restored from EEPROM after reset.
**/
Modified: trunk/sys/dev/e1000/e1000_ich8lan.c
===================================================================
--- trunk/sys/dev/e1000/e1000_ich8lan.c 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/e1000/e1000_ich8lan.c 2016-09-15 22:01:07 UTC (rev 8070)
@@ -3755,7 +3755,7 @@
* @hw: pointer to the HW structure
*
* ICH8 use the PCI Express bus, but does not contain a PCI Express Capability
- * register, so the the bus width is hard coded.
+ * register, so the bus width is hard coded.
**/
static s32 e1000_get_bus_info_ich8lan(struct e1000_hw *hw)
{
Modified: trunk/sys/dev/isci/scil/sati.c
===================================================================
--- trunk/sys/dev/isci/scil/sati.c 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isci/scil/sati.c 2016-09-15 22:01:07 UTC (rev 8070)
@@ -1236,7 +1236,7 @@
)
{
// Decode the sequence type to determine how to handle the termination
- // of the the translation method.
+ // of the translation method.
switch (sequence->type)
{
case SATI_SEQUENCE_UNMAP:
Modified: trunk/sys/dev/isci/scil/sati_callbacks.h
===================================================================
--- trunk/sys/dev/isci/scil/sati_callbacks.h 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isci/scil/sati_callbacks.h 2016-09-15 22:01:07 UTC (rev 8070)
@@ -153,7 +153,7 @@
);
/**
- * @brief This callback method gets the the task type for the SCSI task
+ * @brief This callback method gets the task type for the SCSI task
* request.
*
* @param[in] scsi_task This parameter specifies the user's SCSI Task request.
Modified: trunk/sys/dev/isci/scil/sci_base_controller.h
===================================================================
--- trunk/sys/dev/isci/scil/sci_base_controller.h 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isci/scil/sci_base_controller.h 2016-09-15 22:01:07 UTC (rev 8070)
@@ -113,7 +113,7 @@
SCI_BASE_CONTROLLER_STATE_INITIALIZED,
/**
- * This state indicates the the controller is in the process of becoming
+ * This state indicates the controller is in the process of becoming
* ready (i.e. starting). In this state no new IO operations are permitted.
* This state is entered from the INITIALIZED state.
*/
Modified: trunk/sys/dev/isci/scil/sci_base_domain.h
===================================================================
--- trunk/sys/dev/isci/scil/sci_base_domain.h 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isci/scil/sci_base_domain.h 2016-09-15 22:01:07 UTC (rev 8070)
@@ -92,7 +92,7 @@
SCI_BASE_DOMAIN_STATE_STARTING,
/**
- * This state indicates the the domain is now ready. Thus, the user
+ * This state indicates the domain is now ready. Thus, the user
* is able to perform IO operations to remote devices in this domain.
* This state is entered from the STOPPED state.
* This state is entered from the STOPPING state.
Modified: trunk/sys/dev/isci/scil/sci_base_phy.h
===================================================================
--- trunk/sys/dev/isci/scil/sci_base_phy.h 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isci/scil/sci_base_phy.h 2016-09-15 22:01:07 UTC (rev 8070)
@@ -102,7 +102,7 @@
SCI_BASE_PHY_STATE_STARTING,
/**
- * This state indicates the the phy is now ready. Thus, the user
+ * This state indicates the phy is now ready. Thus, the user
* is able to perform IO operations utilizing this phy as long as it
* is currently part of a valid port.
* This state is entered from the STARTING state.
Modified: trunk/sys/dev/isci/scil/sci_base_remote_device.h
===================================================================
--- trunk/sys/dev/isci/scil/sci_base_remote_device.h 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isci/scil/sci_base_remote_device.h 2016-09-15 22:01:07 UTC (rev 8070)
@@ -93,7 +93,7 @@
SCI_BASE_REMOTE_DEVICE_STATE_STOPPED,
/**
- * This state indicates the the remote device is in the process of
+ * This state indicates the remote device is in the process of
* becoming ready (i.e. starting). In this state no new IO operations
* are permitted.
* This state is entered from the STOPPED state.
Modified: trunk/sys/dev/isci/scil/scic_io_request.h
===================================================================
--- trunk/sys/dev/isci/scil/scic_io_request.h 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isci/scil/scic_io_request.h 2016-09-15 22:01:07 UTC (rev 8070)
@@ -260,12 +260,12 @@
*/
U8 (* scic_cb_smp_passthru_get_frame_type) ( void *);
/**
- * Function pointer to get the function in the the smp request
+ * Function pointer to get the function in the smp request
*/
U8 (* scic_cb_smp_passthru_get_function) ( void * );
/**
- * Function pointer to get the "allocated response length" in the the smp request
+ * Function pointer to get the "allocated response length" in the smp request
*/
U8 (* scic_cb_smp_passthru_get_allocated_response_length) ( void * );
Modified: trunk/sys/dev/isci/scil/scic_sds_phy.c
===================================================================
--- trunk/sys/dev/isci/scil/scic_sds_phy.c 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isci/scil/scic_sds_phy.c 2016-09-15 22:01:07 UTC (rev 8070)
@@ -658,7 +658,7 @@
// Clear out the error counter data
memset(this_phy->error_counter, 0, sizeof(this_phy->error_counter));
- // Initialize the the substate machines
+ // Initialize the substate machines
sci_base_state_machine_construct(
&this_phy->starting_substate_machine,
&this_phy->parent.parent,
Modified: trunk/sys/dev/isci/scil/scic_sds_port.h
===================================================================
--- trunk/sys/dev/isci/scil/scic_sds_port.h 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isci/scil/scic_sds_port.h 2016-09-15 22:01:07 UTC (rev 8070)
@@ -109,7 +109,7 @@
/**
* @struct SCIC_SDS_PORT
*
- * The core port object provides the the abstraction for an SCU port.
+ * The core port object provides the abstraction for an SCU port.
*/
typedef struct SCIC_SDS_PORT
{
Modified: trunk/sys/dev/isci/scil/scic_sds_remote_node_context.h
===================================================================
--- trunk/sys/dev/isci/scil/scic_sds_remote_node_context.h 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isci/scil/scic_sds_remote_node_context.h 2016-09-15 22:01:07 UTC (rev 8070)
@@ -237,7 +237,7 @@
*
* @brief This structure contains the data associated with the remote
* node context object. The remote node context (RNC) object models
- * the the remote device information necessary to manage the
+ * the remote device information necessary to manage the
* silicon RNC.
*/
typedef struct SCIC_SDS_REMOTE_NODE_CONTEXT
Modified: trunk/sys/dev/isci/scil/scic_sds_request.c
===================================================================
--- trunk/sys/dev/isci/scil/scic_sds_request.c 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isci/scil/scic_sds_request.c 2016-09-15 22:01:07 UTC (rev 8070)
@@ -2679,7 +2679,7 @@
/**
* This method implements the actions taken when entering the
* SCI_BASE_REQUEST_STATE_CONSTRUCTED state.
- * The method sets the state handlers for the the constructed state.
+ * The method sets the state handlers for the constructed state.
*
* @param[in] object The io request object that is to enter the constructed
* state.
Modified: trunk/sys/dev/isci/scil/scu_bios_definitions.h
===================================================================
--- trunk/sys/dev/isci/scil/scu_bios_definitions.h 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isci/scil/scu_bios_definitions.h 2016-09-15 22:01:07 UTC (rev 8070)
@@ -299,7 +299,7 @@
} sas_address;
/**
- * These are the per PHY equalization settings associated with the the
+ * These are the per PHY equalization settings associated with the
* AFE XCVR Tx Amplitude and Equalization Control Register Set
* (0 thru 3).
*
@@ -496,7 +496,7 @@
} sas_address;
/**
- * These are the per PHY equalization settings associated with the the
+ * These are the per PHY equalization settings associated with the
* AFE XCVR Tx Amplitude and Equalization Control Register Set
* (0 thru 3).
*
@@ -706,7 +706,7 @@
} sas_address;
/**
- * These are the per PHY equalization settings associated with the the
+ * These are the per PHY equalization settings associated with the
* AFE XCVR Tx Amplitude and Equalization Control Register Set
* (0 thru 3).
*
@@ -927,7 +927,7 @@
} sas_address;
/**
- * These are the per PHY equalization settings associated with the the
+ * These are the per PHY equalization settings associated with the
* AFE XCVR Tx Amplitude and Equalization Control Register Set
* (0 thru 3).
*
Modified: trunk/sys/dev/isp/isp_freebsd.c
===================================================================
--- trunk/sys/dev/isp/isp_freebsd.c 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/isp/isp_freebsd.c 2016-09-15 22:01:07 UTC (rev 8070)
@@ -1889,7 +1889,7 @@
* Mode 1, status, no data. Only possible when we are sending status, have
* no data to transfer, and the sense length can fit in the ct7_entry.
*
- * Mode 2, status, no data. We have to use this in the case the the response
+ * Mode 2, status, no data. We have to use this in the case the response
* length won't fit into a ct2_entry_t.
*
* We'll fill out this structure with information as if this were a
Modified: trunk/sys/dev/mps/mps_sas.c
===================================================================
--- trunk/sys/dev/mps/mps_sas.c 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/dev/mps/mps_sas.c 2016-09-15 22:01:07 UTC (rev 8070)
@@ -360,7 +360,7 @@
mps_printf(sc, "Reset aborted %u commands\n", reply->TerminationCount);
mps_free_reply(sc, tm->cm_reply_data);
- tm->cm_reply = NULL; /* Ensures the the reply won't get re-freed */
+ tm->cm_reply = NULL; /* Ensures the reply won't get re-freed */
mps_printf(sc, "clearing target %u handle 0x%04x\n", targ->tid, handle);
@@ -550,7 +550,7 @@
mps_dprint(sc, MPS_INFO, "Reset aborted %u commands\n",
le32toh(reply->TerminationCount));
mps_free_reply(sc, tm->cm_reply_data);
- tm->cm_reply = NULL; /* Ensures the the reply won't get re-freed */
+ tm->cm_reply = NULL; /* Ensures the reply won't get re-freed */
/* Reuse the existing command */
req = (MPI2_SAS_IOUNIT_CONTROL_REQUEST *)tm->cm_req;
Modified: trunk/sys/kern/subr_unit.c
===================================================================
--- trunk/sys/kern/subr_unit.c 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/kern/subr_unit.c 2016-09-15 22:01:07 UTC (rev 8070)
@@ -63,7 +63,7 @@
* in the usermode test program included, the worst case usage
* was 798 bytes on i386 for 5000 allocated and 5000 free units.
* * The worst case is where every other unit number is allocated and
- * the the rest are free. In that case 44 + N/4 bytes are used where
+ * the rest are free. In that case 44 + N/4 bytes are used where
* N is the number of the highest unit allocated.
*/
Modified: trunk/sys/vm/vm_pageout.c
===================================================================
--- trunk/sys/vm/vm_pageout.c 2016-09-15 21:55:26 UTC (rev 8069)
+++ trunk/sys/vm/vm_pageout.c 2016-09-15 22:01:07 UTC (rev 8070)
@@ -755,7 +755,7 @@
uma_reclaim();
/*
- * The addl_page_shortage is the the number of temporarily
+ * The addl_page_shortage is the number of temporarily
* stuck pages in the inactive queue. In other words, the
* number of pages from cnt.v_inactive_count that should be
* discounted in setting the target for the active queue scan.
More information about the Midnightbsd-cvs
mailing list