summaryrefslogtreecommitdiff
path: root/sys/dev/ic/aic7xxx.c
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-10-21 18:58:51 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-10-21 18:58:51 +0000
commit09533afdf9d8765c07281cc781bb793add772fff (patch)
tree127756d1f0b3ef0d9b54bf585b52cfde1d7f8a28 /sys/dev/ic/aic7xxx.c
parent8340012e43d3e836557b3ef5cce99f0b05419e90 (diff)
typos from Tom Cosgrove;
Tom: I did not commit a couple of your changes. i did not include some punctuation fixes (full stops, etc.) mnemorable -> mnemonic: i decided memorable was probably better instrunctions -> instruction: i kept the plural
Diffstat (limited to 'sys/dev/ic/aic7xxx.c')
-rw-r--r--sys/dev/ic/aic7xxx.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/sys/dev/ic/aic7xxx.c b/sys/dev/ic/aic7xxx.c
index fb62849d8a7..0c9ff90bbbd 100644
--- a/sys/dev/ic/aic7xxx.c
+++ b/sys/dev/ic/aic7xxx.c
@@ -28,10 +28,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: aic7xxx.c,v 1.50 2003/09/29 19:28:15 mickey Exp $
+ * $Id: aic7xxx.c,v 1.51 2003/10/21 18:58:48 jmc Exp $
*
* $FreeBSD: src/sys/dev/aic7xxx/aic7xxx.c,v 1.80 2001/12/16 17:38:30 gibbs Exp $
- * $OpenBSD: aic7xxx.c,v 1.50 2003/09/29 19:28:15 mickey Exp $
+ * $OpenBSD: aic7xxx.c,v 1.51 2003/10/21 18:58:48 jmc Exp $
*/
#ifdef __OpenBSD__
@@ -109,7 +109,7 @@ static const u_int num_phases = NUM_ELEMENTS(ahc_phase_table) - 1;
/*
* Valid SCSIRATE values. (p. 3-17)
- * Provides a mapping of tranfer periods in ns to the proper value to
+ * Provides a mapping of transfer periods in ns to the proper value to
* stick in the scsixfer reg.
*/
static struct ahc_syncrate ahc_syncrates[] =
@@ -387,7 +387,7 @@ ahc_handle_brkadrint(struct ahc_softc *ahc)
ahc_dump_card_state(ahc);
- /* Tell everyone that this HBA is no longer availible */
+ /* Tell everyone that this HBA is no longer available */
ahc_abort_scbs(ahc, CAM_TARGET_WILDCARD, ALL_CHANNELS,
CAM_LUN_WILDCARD, SCB_LIST_NULL, ROLE_UNKNOWN,
CAM_NO_HBA);
@@ -527,7 +527,7 @@ ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat)
* We can't allow the target to disconnect.
* This will be an untagged transaction and
* having the target disconnect will make this
- * transaction indestinguishable from outstanding
+ * transaction indistinguishable from outstanding
* tagged transactions.
*/
hscb->control = 0;
@@ -707,7 +707,7 @@ ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat)
* that requires host assistance for completion.
* While handling the message phase(s), we will be
* notified by the sequencer after each byte is
- * transfered so we can track bus phase changes.
+ * transferred so we can track bus phase changes.
*
* If this is the first time we've seen a HOST_MSG_LOOP
* interrupt, initialize the state of the host message
@@ -1736,7 +1736,7 @@ ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo,
/*
* Update the bitmask of targets for which the controller should
- * negotiate with at the next convenient oportunity. This currently
+ * negotiate with at the next convenient opportunity. This currently
* means the next time we send the initial identify messages for
* a new transaction.
*/
@@ -2141,7 +2141,7 @@ ahc_assert_atn(struct ahc_softc *ahc)
/*
* When an initiator transaction with the MK_MESSAGE flag either reconnects
* or enters the initial message out phase, we are interrupted. Fill our
- * outgoing message buffer with the appropriate message and beging handing
+ * outgoing message buffer with the appropriate message and begin handling
* the message phase(s) manually.
*/
static void
@@ -2332,7 +2332,7 @@ ahc_construct_sdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
}
/*
- * Build a wide negotiateion message in our message
+ * Build a wide negotiation message in our message
* buffer based on the input parameters.
*/
static void
@@ -2585,7 +2585,7 @@ reswitch:
/*
* Read the latched byte, but turn off SPIOEN first
- * so that we don't inadvertantly cause a REQ for the
+ * so that we don't inadvertently cause a REQ for the
* next byte.
*/
ahc_outb(ahc, SXFRCTL0, ahc_inb(ahc, SXFRCTL0) & ~SPIOEN);
@@ -2716,7 +2716,7 @@ ahc_parse_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
targ_scsirate = tinfo->scsirate;
/*
- * Parse as much of the message as is availible,
+ * Parse as much of the message as is available,
* rejecting it if we don't support it. When
* the entire message is availible and has been
* handled, return MSGLOOP_MSGCOMPLETE, indicating
@@ -3226,7 +3226,7 @@ ahc_handle_msg_reject(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
/*
* Requeue all tagged commands for this target
- * currently in our posession so they can be
+ * currently in our possession so they can be
* converted to untagged commands.
*/
ahc_search_qinfifo(ahc, SCB_GET_TARGET(ahc, scb),
@@ -3492,7 +3492,7 @@ ahc_setup_target_msgin(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
/**************************** Initialization **********************************/
/*
* Allocate a controller structure for a new device
- * and perform initial initializion.
+ * and perform initial initialization.
*/
struct ahc_softc *
ahc_alloc(void *platform_arg, char *name)
@@ -3722,7 +3722,7 @@ ahc_shutdown(void *arg)
/*
* Reset the controller and record some information about it
- * that is only availabel just after a reset.
+ * that is only available just after a reset.
*/
int
ahc_reset(struct ahc_softc *ahc)
@@ -4680,7 +4680,7 @@ ahc_init(struct ahc_softc *ahc)
/*
* Wait for up to 500ms for our transceivers
* to settle. If the adapter does not have
- * a cable attached, the tranceivers may
+ * a cable attached, the transceivers may
* never settle, so don't complain if we
* fail here.
*/