summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/auixp.c18
-rw-r--r--sys/dev/pci/autri.c4
-rw-r--r--sys/dev/pci/if_wb.c6
3 files changed, 14 insertions, 14 deletions
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.
*/