diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-05-26 00:36:05 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-05-26 00:36:05 +0000 |
commit | c413206bf89a6cce9527a4d2de33ef258c0f02d3 (patch) | |
tree | 4150ce075256cb4e041c0b8c65ccd3f37ffcf297 /sys/dev | |
parent | 3e63d12de85bb03339039fd726ca30e5f9a849c2 (diff) |
More comment typos from Diego Casati. Including winners like funtion, allmost,
oustside, seqencer, toghether, nessissary, etc.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/microcode/aic7xxx/aic79xx.reg | 6 | ||||
-rw-r--r-- | sys/dev/microcode/aic7xxx/aic79xx.seq | 42 | ||||
-rw-r--r-- | sys/dev/microcode/aic7xxx/aic7xxx.reg | 8 | ||||
-rw-r--r-- | sys/dev/microcode/aic7xxx/aic7xxx.seq | 14 | ||||
-rw-r--r-- | sys/dev/pci/auixp.c | 18 | ||||
-rw-r--r-- | sys/dev/pci/autri.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_wb.c | 6 | ||||
-rw-r--r-- | sys/dev/tc/tcdsreg.h | 8 |
8 files changed, 53 insertions, 53 deletions
diff --git a/sys/dev/microcode/aic7xxx/aic79xx.reg b/sys/dev/microcode/aic7xxx/aic79xx.reg index caaaec46a6e..962ec56604b 100644 --- a/sys/dev/microcode/aic7xxx/aic79xx.reg +++ b/sys/dev/microcode/aic7xxx/aic79xx.reg @@ -1,4 +1,4 @@ -/* $OpenBSD: aic79xx.reg,v 1.6 2007/05/25 21:27:15 krw Exp $ */ +/* $OpenBSD: aic79xx.reg,v 1.7 2007/05/26 00:36:03 krw Exp $ */ /* * Aic79xx register and scratch ram definitions. * @@ -40,7 +40,7 @@ * * $FreeBSD: src/sys/dev/aic7xxx/aic79xx.reg,v 1.18 2004/08/04 17:55:34 gibbs Exp $ */ -VERSION = "$Id: aic79xx.reg,v 1.6 2007/05/25 21:27:15 krw Exp $" +VERSION = "$Id: aic79xx.reg,v 1.7 2007/05/26 00:36:03 krw Exp $" /* * This file is processed by the aic7xxx_asm utility for use in assembling @@ -2425,7 +2425,7 @@ register IOPDNCTL { } /* - * Shaddow Host Address. + * Shadow Host Address. */ register SHADDR { address 0x060 diff --git a/sys/dev/microcode/aic7xxx/aic79xx.seq b/sys/dev/microcode/aic7xxx/aic79xx.seq index 54417d055d3..f6cb527411c 100644 --- a/sys/dev/microcode/aic7xxx/aic79xx.seq +++ b/sys/dev/microcode/aic7xxx/aic79xx.seq @@ -1,4 +1,4 @@ -/* $OpenBSD: aic79xx.seq,v 1.7 2007/04/10 17:47:55 miod Exp $ */ +/* $OpenBSD: aic79xx.seq,v 1.8 2007/05/26 00:36:03 krw Exp $ */ /* * Adaptec U320 device driver firmware for Linux and FreeBSD. * @@ -41,7 +41,7 @@ * $FreeBSD: src/sys/dev/aic7xxx/aic79xx.seq,v 1.17 2004/08/04 17:55:34 gibbs Exp $ */ -VERSION = "$Id: aic79xx.seq,v 1.7 2007/04/10 17:47:55 miod Exp $" +VERSION = "$Id: aic79xx.seq,v 1.8 2007/05/26 00:36:03 krw Exp $" PATCH_ARG_LIST = "struct ahd_softc *ahd" PREFIX = "ahd_" @@ -168,7 +168,7 @@ gsfifo_complete_normally: /* * Since this status did not consume a FIFO, we have to - * be a bit more dilligent in how we check for FIFOs pertaining + * be a bit more diligent in how we check for FIFOs pertaining * to this transaction. There are two states that a FIFO still * transferring data may be in. * @@ -218,7 +218,7 @@ BEGIN_CRITICAL; scbdma_tohost_done: test CCSCBCTL, CCARREN jz fill_qoutfifo_dmadone; /* - * An SCB has been succesfully uploaded to the host. + * An SCB has been successfully uploaded to the host. * If the SCB was uploaded for some reason other than * bad SCSI status (currently only for underruns), we * queue the SCB for normal completion. Otherwise, we @@ -481,10 +481,10 @@ dma_complete_scb: * Either post or fetch an SCB from host memory. The caller * is responsible for polling for transfer completion. * - * Prerequisits: Mode == M_CCHAN - * SINDEX contains CCSCBCTL flags - * SCBHADDR set to Host SCB address - * SCBPTR set to SCB src location on "push" operations + * Prerequisites: Mode == M_CCHAN + * SINDEX contains CCSCBCTL flags + * SCBHADDR set to Host SCB address + * SCBPTR set to SCB src location on "push" operations */ SET_SRC_MODE M_CCHAN; SET_DST_MODE M_CCHAN; @@ -704,7 +704,7 @@ BEGIN_CRITICAL; test LQOSTAT1, LQOBUSFREE jnz idle_loop; /* - * On a phase change oustside of packet boundaries, + * On a phase change outside of packet boundaries, * LASTSCB points to the currently active SCB context * on the bus. */ @@ -949,7 +949,7 @@ p_status_okay: /* * Message out phase. If MSG_OUT is MSG_IDENTIFYFLAG, build a full - * indentify message sequence and send it to the target. The host may + * identify message sequence and send it to the target. The host may * override this behavior by setting the MK_MESSAGE bit in the SCB * control byte. This will cause us to interrupt the host and allow * it to handle the message phase completely on its own. If the bit @@ -959,9 +959,9 @@ p_status_okay: * * If MSG_OUT is == HOST_MSG, also interrupt the host and take a message. * This is done to allow the host to send messages outside of an identify - * sequence while protecting the seqencer from testing the MK_MESSAGE bit + * sequence while protecting the sequencer from testing the MK_MESSAGE bit * on an SCB that might not be for the current nexus. (For example, a - * BDR message in responce to a bad reselection would leave us pointed to + * BDR message in response to a bad reselection would leave us pointed to * an SCB that doesn't have anything to do with the current target). * * Otherwise, treat MSG_OUT as a 1 byte message to send (abort, abort tag, @@ -1201,7 +1201,7 @@ mesgin_complete: test SEQ_FLAGS, NOT_IDENTIFIED jnz mesgin_proto_violation; /* - * If we recevied good status but never successfully sent the + * If we received good status but never successfully sent the * cdb, abort the command. */ test SCB_SCSI_STATUS,0xff jnz complete_accepted; @@ -1282,7 +1282,7 @@ END_CRITICAL; * Is it a disconnect message? Set a flag in the SCB to remind us * and await the bus going free. If this is an untagged transaction * store the SCB id for it in our untagged target table for lookup on - * a reselction. + * a reselection. */ mesgin_disconnect: /* @@ -1508,7 +1508,7 @@ service_fifo: * If the other FIFO needs loading, then it * must not have claimed the S/G cache yet * (SG_CACHE_AVAIL would have been cleared in - * the orginal FIFO mode and we test this above). + * the original FIFO mode and we test this above). * Return to the idle loop so we can process the * FIFO not currently on the bus first. */ @@ -1552,7 +1552,7 @@ idle_sg_avail: test DFSTATUS, PRELOAD_AVAIL jz return; /* * On the A, preloading a segment before HDMAENACK - * comes true can clobber the shaddow address of the + * comes true can clobber the shadow address of the * first segment in the S/G FIFO. Wait until it is * safe to proceed. */ @@ -1909,7 +1909,7 @@ main_isr: /* * There are two types of save pointers interrupts: * The first is a snapshot save pointers where the current FIFO is not - * active and contains a snapshot of the current poniter information. + * active and contains a snapshot of the current pointer information. * This happens between packets in a stream for a single L_Q. Since we * are not performing a pointer save, we can safely clear the channel * so it can be used for other transactions. On RTI capable controllers, @@ -2005,10 +2005,10 @@ pkt_handle_xfer: * Defer handling of this NONPACKREQ until we * can be sure it pertains to this FIFO. SAVEPTRS * will not be asserted if the NONPACKREQ is for us, - * so we must simulate it if shaddow is valid. If - * shaddow is not valid, keep running this FIFO until we + * so we must simulate it if shadow is valid. If + * shadow is not valid, keep running this FIFO until we * have satisfied the transfer by loading segments and - * waiting for either shaddow valid or last_seg_done. + * waiting for either shadow valid or last_seg_done. */ test MDFFSTAT, SHVALID jnz pkt_saveptrs; pkt_service_fifo: @@ -2140,7 +2140,7 @@ BEGIN_CRITICAL; END_CRITICAL; pkt_status_check_overrun: /* - * Status PKT overruns are uncerimoniously recovered with a + * Status PKT overruns are unceremoniously recovered with a * bus reset. If we've overrun, let the host know so that * recovery can be performed. * diff --git a/sys/dev/microcode/aic7xxx/aic7xxx.reg b/sys/dev/microcode/aic7xxx/aic7xxx.reg index d64c61aea7c..d026d6b95ed 100644 --- a/sys/dev/microcode/aic7xxx/aic7xxx.reg +++ b/sys/dev/microcode/aic7xxx/aic7xxx.reg @@ -1,4 +1,4 @@ -/* $OpenBSD: aic7xxx.reg,v 1.10 2004/08/01 01:36:23 krw Exp $ */ +/* $OpenBSD: aic7xxx.reg,v 1.11 2007/05/26 00:36:03 krw Exp $ */ /* * Aic7xxx register and scratch ram definitions. * @@ -40,7 +40,7 @@ * * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx.reg,v 1.46 2003/12/17 00:02:09 gibbs Exp $ */ -VERSION = "$Id: aic7xxx.reg,v 1.10 2004/08/01 01:36:23 krw Exp $" +VERSION = "$Id: aic7xxx.reg,v 1.11 2007/05/26 00:36:03 krw Exp $" /* * This file is processed by the aic7xxx_asm utility for use in assembling @@ -330,7 +330,7 @@ register SSTAT2 { address 0x00d access_mode RO field OVERRUN 0x80 - field SHVALID 0x40 /* Shaddow Layer non-zero */ + field SHVALID 0x40 /* Shadow Layer non-zero */ field EXP_ACTIVE 0x10 /* SCSI Expander Active */ field CRCVALERR 0x08 /* CRC doesn't match (U3 only) */ field CRCENDERR 0x04 /* No terminal CRC packet (U3 only) */ @@ -950,7 +950,7 @@ register SCBCNT { /* * Queue In FIFO (p. 3-60) - * Input queue for queued SCBs (commands that the seqencer has yet to start) + * Input queue for queued SCBs (commands that the sequencer has yet to start) */ register QINFIFO { address 0x09b diff --git a/sys/dev/microcode/aic7xxx/aic7xxx.seq b/sys/dev/microcode/aic7xxx/aic7xxx.seq index c1f1d18f4db..0bd3c8cd78e 100644 --- a/sys/dev/microcode/aic7xxx/aic7xxx.seq +++ b/sys/dev/microcode/aic7xxx/aic7xxx.seq @@ -1,4 +1,4 @@ -/* $OpenBSD: aic7xxx.seq,v 1.20 2007/04/10 17:47:55 miod Exp $ */ +/* $OpenBSD: aic7xxx.seq,v 1.21 2007/05/26 00:36:03 krw Exp $ */ /*- * Adaptec 274x/284x/294x device driver firmware for Linux and FreeBSD. * @@ -41,7 +41,7 @@ * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx.seq,v 1.128 2005/01/06 01:42:26 imp Exp $ */ -VERSION = "$Id: aic7xxx.seq,v 1.20 2007/04/10 17:47:55 miod Exp $" +VERSION = "$Id: aic7xxx.seq,v 1.21 2007/05/26 00:36:03 krw Exp $" PATCH_ARG_LIST = "struct ahc_softc *ahc" PREFIX = "ahc_" @@ -1478,7 +1478,7 @@ p_status_okay: /* * Message out phase. If MSG_OUT is MSG_IDENTIFYFLAG, build a full - * indentify message sequence and send it to the target. The host may + * identify message sequence and send it to the target. The host may * override this behavior by setting the MK_MESSAGE bit in the SCB * control byte. This will cause us to interrupt the host and allow * it to handle the message phase completely on its own. If the bit @@ -1488,9 +1488,9 @@ p_status_okay: * * If MSG_OUT is == HOST_MSG, also interrupt the host and take a message. * This is done to allow the host to send messages outside of an identify - * sequence while protecting the seqencer from testing the MK_MESSAGE bit + * sequence while protecting the sequencer from testing the MK_MESSAGE bit * on an SCB that might not be for the current nexus. (For example, a - * BDR message in responce to a bad reselection would leave us pointed to + * BDR message in response to a bad reselection would leave us pointed to * an SCB that doesn't have anything to do with the current target). * * Otherwise, treat MSG_OUT as a 1 byte message to send (abort, abort tag, @@ -1642,7 +1642,7 @@ mesgin_complete: test SEQ_FLAGS, NOT_IDENTIFIED jnz mesgin_proto_violation; /* - * If we recevied good status but never successfully sent the + * If we received good status but never successfully sent the * cdb, abort the command. */ test SCB_SCSI_STATUS,0xff jnz complete_accepted; @@ -1698,7 +1698,7 @@ if ((ahc->flags & AHC_INITIATORROLE) != 0) { * Is it a disconnect message? Set a flag in the SCB to remind us * and await the bus going free. If this is an untagged transaction * store the SCB id for it in our untagged target table for lookup on - * a reselction. + * a reselection. */ mesgin_disconnect: /* diff --git a/sys/dev/pci/auixp.c b/sys/dev/pci/auixp.c index f092e49e439..fe768466f4e 100644 --- a/sys/dev/pci/auixp.c +++ b/sys/dev/pci/auixp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auixp.c,v 1.9 2007/05/25 21:27:15 krw Exp $ */ +/* $OpenBSD: auixp.c,v 1.10 2007/05/26 00:36:03 krw Exp $ */ /* $NetBSD: auixp.c,v 1.9 2005/06/27 21:13:09 thorpej Exp $ */ /* @@ -346,7 +346,7 @@ auixp_commit_settings(void *hdl) value &= ~ATI_REG_CMD_SPDF_CONFIG_MASK; value |= ATI_REG_CMD_SPDF_CONFIG_34; /* NetBSD AC'97 default */ - /* XXX this prolly is not nessisary unless splitted XXX */ + /* XXX this is probably not necessary unless splitted XXX */ value &= ~ATI_REG_CMD_INTERLEAVE_SPDF; if (params->precision <= 16) value |= ATI_REG_CMD_INTERLEAVE_SPDF; @@ -816,7 +816,7 @@ auixp_program_dma_chain(struct auixp_softc *sc, struct auixp_dma *dma) iot = sc->sc_iot; ioh = sc->sc_ioh; /* get hardware start address of DMA chain and set valid-flag in it */ - /* XXX allways at start? XXX */ + /* XXX always at start? XXX */ value = DMAADDR(dma); value = value | ATI_REG_LINKPTR_EN; @@ -880,7 +880,7 @@ auixp_update_busbusy(struct auixp_softc *sc) * audio is refilled by calling the intr() function when space is available * again. */ -/* XXX allmost literaly a copy of trigger-input; could be factorised XXX */ +/* XXX almost literally a copy of trigger-input; could be factorised XXX */ int auixp_trigger_output(void *hdl, void *start, void *end, int blksize, void (*intr)(void *), void *intrarg, struct audio_params *param) @@ -955,7 +955,7 @@ auixp_halt_output(void *hdl) } -/* XXX allmost literaly a copy of trigger-output; could be factorised XXX */ +/* XXX almost literally a copy of trigger-output; could be factorised XXX */ int auixp_trigger_input(void *hdl, void *start, void *end, int blksize, void (*intr)(void *), void *intrarg, struct audio_params *param) @@ -1034,8 +1034,8 @@ auixp_halt_input(void *hdl) * IXP audio interrupt handler * * note that we return the number of bits handled; the return value is not - * documentated but i saw it implemented in other drivers. Prolly returning a - * value > 0 means "i've dealt with it" + * documented but I saw it implemented in other drivers. Probably returning a + * value > 0 means "I've dealt with it" * */ int @@ -1662,7 +1662,7 @@ auixp_disable_dma(struct auixp_softc *sc, struct auixp_dma *dma) iot = sc->sc_iot; ioh = sc->sc_ioh; - /* lets not stress the DMA engine more than nessisary */ + /* lets not stress the DMA engine more than necessary */ value = bus_space_read_4(iot, ioh, ATI_REG_CMD); if (value & dma->dma_enable_bit) { value &= ~dma->dma_enable_bit; @@ -1679,7 +1679,7 @@ auixp_enable_dma(struct auixp_softc *sc, struct auixp_dma *dma) iot = sc->sc_iot; ioh = sc->sc_ioh; - /* lets not stress the DMA engine more than nessisary */ + /* lets not stress the DMA engine more than necesssary */ value = bus_space_read_4(iot, ioh, ATI_REG_CMD); if (!(value & dma->dma_enable_bit)) { value |= dma->dma_enable_bit; diff --git a/sys/dev/pci/autri.c b/sys/dev/pci/autri.c index c7106132768..0735d78ec4f 100644 --- a/sys/dev/pci/autri.c +++ b/sys/dev/pci/autri.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autri.c,v 1.19 2007/05/25 21:27:15 krw Exp $ */ +/* $OpenBSD: autri.c,v 1.20 2007/05/26 00:36:03 krw Exp $ */ /* * Copyright (c) 2001 SOMEYA Yoshihiko and KUROSAWA Takahiro. @@ -308,7 +308,7 @@ autri_read_codec(sc_, index, data) /* send Read Command to AC97 */ TWRITE4(sc, addr, (index & 0x7f) | cmd); - /* wait for 'Returned data is avalable' */ + /* wait for 'Returned data is available' */ for (count=0; count < 0xffff; count++) { status = TREAD4(sc, addr); if ((status & busy) == 0) diff --git a/sys/dev/pci/if_wb.c b/sys/dev/pci/if_wb.c index 94e054f050e..a486a41ddf7 100644 --- a/sys/dev/pci/if_wb.c +++ b/sys/dev/pci/if_wb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wb.c,v 1.37 2007/05/25 21:27:15 krw Exp $ */ +/* $OpenBSD: if_wb.c,v 1.38 2007/05/26 00:36:03 krw Exp $ */ /* * Copyright (c) 1997, 1998 @@ -69,7 +69,7 @@ * closed ring. * * For transmission, the driver creates a linked list of 'super descriptors' - * which each contain several individual descriptors linked toghether. + * which each contain several individual descriptors linked together. * Each 'super descriptor' contains WB_MAXFRAGS descriptors, which we * abuse as fragment pointers. This allows us to use a buffer management * scheme very similar to that used in the ThunderLAN and Etherlink XL @@ -80,7 +80,7 @@ * * Note: the author of the Linux driver for the Winbond chip alludes * to some sort of flaw in the chip's design that seems to mandate some - * drastic workaround which signigicantly impairs transmit performance. + * drastic workaround which significantly impairs transmit performance. * I have no idea what he's on about: transmit performance with all * three of my test boards seems fine. */ diff --git a/sys/dev/tc/tcdsreg.h b/sys/dev/tc/tcdsreg.h index e402f4db8e1..6fc4040795b 100644 --- a/sys/dev/tc/tcdsreg.h +++ b/sys/dev/tc/tcdsreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcdsreg.h,v 1.2 2007/05/25 21:27:16 krw Exp $ */ +/* $OpenBSD: tcdsreg.h,v 1.3 2007/05/26 00:36:03 krw Exp $ */ /* $NetBSD: tcdsreg.h,v 1.1 2000/07/04 02:22:20 nisimura Exp $ */ /* @@ -138,7 +138,7 @@ void tcds_scsi_reset(int); * Start of MACH #defines, minimal changes to port to NetBSD. * * The following register is the SCSI control interrupt register. It - * starts, stops and resets scsi DMA. It takes over the SCSI funtions + * starts, stops and resets scsi DMA. It takes over the SCSI functions * that were handled by the ASIC on the 3min. */ #define KN15AA_SYS_SCSI 0x1d0000000 @@ -198,14 +198,14 @@ void tcds_scsi_reset(int); #define KN15AA_REG_SCSI_IMER (KN15AA_SYS_SCSI + 0x80008) -/* these are the bits that were unalligned at the beginning of the dma */ +/* these are the bits that were unaligned at the beginning of the dma */ #define KN15AA_REG_SCSI_DUDB0 (KN15AA_SYS_SCSI + 0x82010) #define KN15AA_REG_SCSI_DUDB1 (KN15AA_SYS_SCSI + 0x82210) # define SCSI_DUDB_MASK01 0x00000001 /* Mask bit for byte[01] */ # define SCSI_DUDB_MASK10 0x00000002 /* Mask bit for byte[10] */ # define SCSI_DUDB_MASK11 0x00000004 /* Mask bit for byte[11] */ -/* these are the bits that were unalligned at the end of the dma */ +/* these are the bits that were unaligned at the end of the dma */ #define KN15AA_REG_SCSI_DUDE0 (KN15AA_SYS_SCSI + 0x82018) #define KN15AA_REG_SCSI_DUDE1 (KN15AA_SYS_SCSI + 0x82218) # define SCSI_DUDE_MASK00 0x1000000 /* Mask bit for byte[00] */ |