summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2008-03-14 21:59:11 +0000
committeremaste <emaste@FreeBSD.org>2008-03-14 21:59:11 +0000
commit3d21898757ea683b1dce39941f6bda43f682c228 (patch)
tree0b15874445da5ca0801f6b8a0123277b67057e42
parent0614ffca9550c6e6bad69f26a1dbf0b606dbd570 (diff)
downloadFreeBSD-src-3d21898757ea683b1dce39941f6bda43f682c228.zip
FreeBSD-src-3d21898757ea683b1dce39941f6bda43f682c228.tar.gz
Change spelling and eliminate a typo in comments to reduce diffs with
Adaptec's vendor driver. I have some fixes to bring in and this makes ongoing review of the FreeBSD-Adaptec driver diffs easier.
-rw-r--r--sys/dev/aac/aac.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c
index 08ffa9e..ce84273 100644
--- a/sys/dev/aac/aac.c
+++ b/sys/dev/aac/aac.c
@@ -246,7 +246,7 @@ SYSCTL_NODE(_hw, OID_AUTO, aac, CTLFLAG_RD, 0, "AAC driver parameters");
*/
/*
- * Initialise the controller and softc
+ * Initialize the controller and softc
*/
int
aac_attach(struct aac_softc *sc)
@@ -256,7 +256,7 @@ aac_attach(struct aac_softc *sc)
debug_called(1);
/*
- * Initialise per-controller queues.
+ * Initialize per-controller queues.
*/
aac_initq_free(sc);
aac_initq_ready(sc);
@@ -264,7 +264,7 @@ aac_attach(struct aac_softc *sc)
aac_initq_bio(sc);
/*
- * Initialise command-completion task.
+ * Initialize command-completion task.
*/
TASK_INIT(&sc->aac_task_complete, 0, aac_complete, sc);
@@ -287,7 +287,7 @@ aac_attach(struct aac_softc *sc)
TAILQ_INIT(&sc->aac_ev_cmfree);
/*
- * Initialise the adapter.
+ * Initialize the adapter.
*/
if ((error = aac_init(sc)) != 0)
return(error);
@@ -448,7 +448,7 @@ aac_startup(void *arg)
}
/*
- * Create a device to respresent a new container
+ * Create a device to represent a new container
*/
static void
aac_add_container(struct aac_softc *sc, struct aac_mntinforesp *mir, int f)
@@ -1290,7 +1290,7 @@ aac_release_command(struct aac_command *cm)
debug_called(3);
- /* (re)initialise the command/FIB */
+ /* (re)initialize the command/FIB */
cm->cm_sgtable = NULL;
cm->cm_flags = 0;
cm->cm_complete = NULL;
@@ -1303,7 +1303,7 @@ aac_release_command(struct aac_command *cm)
/*
* These are duplicated in aac_start to cover the case where an
* intermediate stage may have destroyed them. They're left
- * initialised here for debugging purposes only.
+ * initialized here for debugging purposes only.
*/
cm->cm_fib->Header.ReceiverFibAddress = (u_int32_t)cm->cm_fibphys;
cm->cm_fib->Header.SenderData = 0;
@@ -1337,7 +1337,7 @@ aac_map_command_helper(void *arg, bus_dma_segment_t *segs, int nseg, int error)
}
/*
- * Allocate and initialise commands/FIBs for this adapter.
+ * Allocate and initialize commands/FIBs for this adapter.
*/
static int
aac_alloc_commands(struct aac_softc *sc)
@@ -1370,7 +1370,7 @@ aac_alloc_commands(struct aac_softc *sc)
sc->aac_max_fibs_alloc * sc->aac_max_fib_size,
aac_map_command_helper, &fibphys, 0);
- /* initialise constant fields in the command structure */
+ /* initialize constant fields in the command structure */
bzero(fm->aac_fibs, sc->aac_max_fibs_alloc * sc->aac_max_fib_size);
for (i = 0; i < sc->aac_max_fibs_alloc; i++) {
cm = sc->aac_commands + sc->total_fibs;
@@ -1562,7 +1562,7 @@ aac_unmap_command(struct aac_command *cm)
*/
/*
- * Initialise the adapter.
+ * Initialize the adapter.
*/
static void
aac_common_map(void *arg, bus_dma_segment_t *segs, int nseg, int error)
@@ -1873,7 +1873,7 @@ aac_init(struct aac_softc *sc)
ip->MaxFibSize = sc->aac_max_fib_size;
/*
- * Initialise FIB queues. Note that it appears that the layout of the
+ * Initialize FIB queues. Note that it appears that the layout of the
* indexes and the segmentation of the entries may be mandated by the
* adapter, which is only told about the base of the queue index fields.
*
OpenPOWER on IntegriCloud