diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2007-11-26 09:28:35 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2007-11-26 09:28:35 +0000 |
commit | 04b4ef9c75ed734905ee1bdf681657395bf1dd08 (patch) | |
tree | 7afd3082a841d290022885a5e94f2226628afa31 /sys | |
parent | c8bcb9eaf1366f287c7c29562467558769a87f3c (diff) |
typos; ok jmc@
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@
sys/dev/pci/bktr/* ok jakemsr@
Diffstat (limited to 'sys')
32 files changed, 88 insertions, 88 deletions
diff --git a/sys/arch/m68k/fpsp/round.sa b/sys/arch/m68k/fpsp/round.sa index f46ad90f2ea..a09325b1025 100644 --- a/sys/arch/m68k/fpsp/round.sa +++ b/sys/arch/m68k/fpsp/round.sa @@ -1,4 +1,4 @@ -* $OpenBSD: round.sa,v 1.3 2005/11/15 21:09:45 miod Exp $ +* $OpenBSD: round.sa,v 1.4 2007/11/26 09:28:33 martynas Exp $ * $NetBSD: round.sa,v 1.3 1994/10/26 07:49:24 cgd Exp $ * MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP @@ -237,7 +237,7 @@ sgl_done: add_ext: addq.l #1,LOCAL_LO(a0) ;add 1 to l-bit bcc.b xcc_clr ;test for carry out - addq.l #1,LOCAL_HI(a0) ;propogate carry + addq.l #1,LOCAL_HI(a0) ;propagate carry bcc.b xcc_clr roxr.w LOCAL_HI(a0) ;mant is 0 so restore v-bit roxr.w LOCAL_HI+2(a0) ;mant is 0 so restore v-bit @@ -256,7 +256,7 @@ add_ext_done: add_dbl: add.l #ad_1_dbl,LOCAL_LO(a0) bcc.b dcc_clr - addq.l #1,LOCAL_HI(a0) ;propogate carry + addq.l #1,LOCAL_HI(a0) ;propagate carry bcc.b dcc_clr roxr.w LOCAL_HI(a0) ;mant is 0 so restore v-bit roxr.w LOCAL_HI+2(a0) ;mant is 0 so restore v-bit diff --git a/sys/arch/m68k/m68k/db_disasm.c b/sys/arch/m68k/m68k/db_disasm.c index cf17c2d2f03..7ecca49b97c 100644 --- a/sys/arch/m68k/m68k/db_disasm.c +++ b/sys/arch/m68k/m68k/db_disasm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_disasm.c,v 1.9 2002/03/14 01:26:34 millert Exp $ */ +/* $OpenBSD: db_disasm.c,v 1.10 2007/11/26 09:28:33 martynas Exp $ */ /* $NetBSD: db_disasm.c,v 1.19 1996/10/30 08:22:39 is Exp $ */ /* @@ -2426,7 +2426,7 @@ get_modregstr_moto(dbuf, bit, mod, sz, dd) addstr(dbuf,"(pc)"); break; } else if (reg == 4) { - /* uses ``sz'' to figure imediate data. */ + /* uses ``sz'' to figure immediate data. */ if (sz == SIZE_BYTE) { addchar('#'); prints(dbuf, @@ -2632,7 +2632,7 @@ get_modregstr_mit(dbuf, bit, mod, sz, dd) addchar(')'); break; } else if (reg == 4) { - /* uses ``sz'' to figure imediate data. */ + /* uses ``sz'' to figure immediate data. */ if (sz == SIZE_BYTE) { addchar('#'); prints(dbuf, @@ -2734,7 +2734,7 @@ get_modregstr_mit(dbuf, bit, mod, sz, dd) bd == 3 ? SIZE_LONG : SIZE_BYTE); if (od && !ISBITSET(ext,6) && !ISBITSET(ext,2)) - /* Pre-indexed and not supressing index */ + /* Pre-indexed and not suppressing index */ addchar(','); else if (od && ISBITSET(ext,2)) { /* Post-indexed */ diff --git a/sys/arch/sparc/dev/rfx.c b/sys/arch/sparc/dev/rfx.c index c3f8efeed5a..47a32290de6 100644 --- a/sys/arch/sparc/dev/rfx.c +++ b/sys/arch/sparc/dev/rfx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rfx.c,v 1.12 2007/02/18 18:40:35 miod Exp $ */ +/* $OpenBSD: rfx.c,v 1.13 2007/11/26 09:28:33 martynas Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. @@ -276,7 +276,7 @@ rfxattach(struct device *parent, struct device *self, void *args) /* * If we are not the console, the frame buffer has not been - * initalized by the PROM - do this ourselves. + * initialized by the PROM - do this ourselves. */ if (!isconsole) rfx_initialize(sc, &cf); diff --git a/sys/crypto/blf.c b/sys/crypto/blf.c index 4046dd62450..787d4585cbd 100644 --- a/sys/crypto/blf.c +++ b/sys/crypto/blf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: blf.c,v 1.6 2005/03/24 11:43:40 hshoexer Exp $ */ +/* $OpenBSD: blf.c,v 1.7 2007/11/26 09:28:34 martynas Exp $ */ /* * Blowfish block cipher for OpenBSD @@ -494,7 +494,7 @@ Blowfish_expandstate(blf_ctx *c, const u_int8_t *data, u_int16_t databytes, void blf_key(blf_ctx *c, const u_int8_t *k, u_int16_t len) { - /* Initalize S-boxes and subkeys with Pi */ + /* Initialize S-boxes and subkeys with Pi */ Blowfish_initstate(c); /* Transform S-boxes and subkeys with key */ diff --git a/sys/dev/i2o/iop.c b/sys/dev/i2o/iop.c index 8665fe0dcad..e9515f55ff4 100644 --- a/sys/dev/i2o/iop.c +++ b/sys/dev/i2o/iop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iop.c,v 1.32 2007/10/17 15:08:45 deraadt Exp $ */ +/* $OpenBSD: iop.c,v 1.33 2007/11/26 09:28:33 martynas Exp $ */ /* $NetBSD: iop.c,v 1.12 2001/03/21 14:27:05 ad Exp $ */ /*- @@ -936,7 +936,7 @@ iop_status_get(struct iop_softc *sc, int nosleep) } /* - * Initalize and populate the IOP's outbound FIFO. + * Initialize and populate the IOP's outbound FIFO. */ int iop_ofifo_init(struct iop_softc *sc) diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c index d470ca0940b..8ff42b02ade 100644 --- a/sys/dev/ic/acx.c +++ b/sys/dev/ic/acx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acx.c,v 1.79 2007/10/14 11:36:52 mglocker Exp $ */ +/* $OpenBSD: acx.c,v 1.80 2007/11/26 09:28:33 martynas Exp $ */ /* * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> @@ -1238,7 +1238,7 @@ acx_txerr(struct acx_softc *sc, uint8_t err) stats->err_abort++; break; case DESC_ERR_PARAM: - printf("wrong paramters in descriptor\n"); + printf("wrong parameters in descriptor\n"); stats->err_param++; break; case DESC_ERR_NO_WEPKEY: diff --git a/sys/dev/ic/bt463.c b/sys/dev/ic/bt463.c index 8e19391688c..1d16de89e6a 100644 --- a/sys/dev/ic/bt463.c +++ b/sys/dev/ic/bt463.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bt463.c,v 1.10 2002/11/09 22:51:48 miod Exp $ */ +/* $OpenBSD: bt463.c,v 1.11 2007/11/26 09:28:33 martynas Exp $ */ /* $NetBSD: bt463.c,v 1.2 2000/06/13 17:21:06 nathanw Exp $ */ /*- @@ -294,7 +294,7 @@ bt463_init(rc) BTWREG(data, BT463_IREG_TEST, 0); /* - * Initalize the RAMDAC info struct to hold all of our + * Initialize the RAMDAC info struct to hold all of our * data, and fill it in. */ data->changed = DATA_ALL_CHANGED; diff --git a/sys/dev/ic/bt485.c b/sys/dev/ic/bt485.c index 2707d512aa5..49ab349b8ad 100644 --- a/sys/dev/ic/bt485.c +++ b/sys/dev/ic/bt485.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bt485.c,v 1.12 2002/11/09 22:51:48 miod Exp $ */ +/* $OpenBSD: bt485.c,v 1.13 2007/11/26 09:28:33 martynas Exp $ */ /* $NetBSD: bt485.c,v 1.2 2000/04/02 18:55:01 nathanw Exp $ */ /* @@ -231,7 +231,7 @@ bt485_init(rc) data->ramdac_wr(data->cookie, BT485_REG_PIXMASK, 0xff); /* - * Initalize the RAMDAC info struct to hold all of our + * Initialize the RAMDAC info struct to hold all of our * data, and fill it in. */ data->changed = DATA_ALL_CHANGED; diff --git a/sys/dev/ic/mtd8xx.c b/sys/dev/ic/mtd8xx.c index aca220b2d07..3d2f601a9e1 100644 --- a/sys/dev/ic/mtd8xx.c +++ b/sys/dev/ic/mtd8xx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mtd8xx.c,v 1.12 2006/03/25 22:41:43 djm Exp $ */ +/* $OpenBSD: mtd8xx.c,v 1.13 2007/11/26 09:28:33 martynas Exp $ */ /* * Copyright (c) 2003 Oleg Safiullin <form@pdp11.org.ru> @@ -844,7 +844,7 @@ mtd_intr(void *xsc) u_int32_t status; int claimed = 0; - /* Supress unwanted interrupts */ + /* Suppress unwanted interrupts */ if (!(ifp->if_flags & IFF_RUNNING)) { if (CSR_READ_4(MTD_ISR) & ISR_INTRS) mtd_stop(ifp); diff --git a/sys/dev/microcode/aic7xxx/aic79xx.reg b/sys/dev/microcode/aic7xxx/aic79xx.reg index c0d40205dd7..9365dfaa551 100644 --- a/sys/dev/microcode/aic7xxx/aic79xx.reg +++ b/sys/dev/microcode/aic7xxx/aic79xx.reg @@ -1,4 +1,4 @@ -/* $OpenBSD: aic79xx.reg,v 1.8 2007/11/25 16:40:04 jmc Exp $ */ +/* $OpenBSD: aic79xx.reg,v 1.9 2007/11/26 09:28:33 martynas 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.8 2007/11/25 16:40:04 jmc Exp $" +VERSION = "$Id: aic79xx.reg,v 1.9 2007/11/26 09:28:33 martynas Exp $" /* * This file is processed by the aic7xxx_asm utility for use in assembling @@ -1193,7 +1193,7 @@ register TARGPCISTAT { /* * LQ Packet In - * The last LQ Packet recieved + * The last LQ Packet received */ register LQIN { address 0x020 diff --git a/sys/dev/pci/bktr/bktr_core.c b/sys/dev/pci/bktr/bktr_core.c index 138414d5a5e..fa412985c1f 100644 --- a/sys/dev/pci/bktr/bktr_core.c +++ b/sys/dev/pci/bktr/bktr_core.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bktr_core.c,v 1.25 2007/09/15 10:10:37 martin Exp $ */ +/* $OpenBSD: bktr_core.c,v 1.26 2007/11/26 09:28:34 martynas Exp $ */ /* $FreeBSD: src/sys/dev/bktr/bktr_core.c,v 1.114 2000/10/31 13:09:56 roger Exp $ */ /* @@ -399,7 +399,7 @@ common_bktr_attach( bktr_ptr_t bktr, int unit, u_int pci_id, u_int rev ) bktr->alloc_pages = 0; } - bktr->flags = METEOR_INITALIZED | METEOR_AUTOMODE | + bktr->flags = METEOR_INITIALIZED | METEOR_AUTOMODE | METEOR_DEV0 | METEOR_RGB16; bktr->dma_prog_loaded = FALSE; bktr->cols = 640; @@ -439,7 +439,7 @@ common_bktr_attach( bktr_ptr_t bktr, int unit, u_int pci_id, u_int rev ) bktr->clr_on_start = FALSE; /* defaults for the tuner section of the card */ - bktr->tflags = TUNER_INITALIZED; + bktr->tflags = TUNER_INITIALIZED; bktr->tuner.frequency = 0; bktr->tuner.channel = 0; bktr->tuner.chnlset = DEFAULT_CHNLSET; @@ -924,7 +924,7 @@ vbi_open( bktr_ptr_t bktr ) int tuner_open( bktr_ptr_t bktr ) { - if ( !(bktr->tflags & TUNER_INITALIZED) ) /* device not found */ + if ( !(bktr->tflags & TUNER_INITIALIZED) ) /* device not found */ return( ENXIO ); if ( bktr->tflags & TUNER_OPEN ) /* already open */ diff --git a/sys/dev/pci/bktr/bktr_os.c b/sys/dev/pci/bktr/bktr_os.c index 05d5f766fa0..9e16d0b3ee6 100644 --- a/sys/dev/pci/bktr/bktr_os.c +++ b/sys/dev/pci/bktr/bktr_os.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bktr_os.c,v 1.27 2007/06/18 07:31:14 jakemsr Exp $ */ +/* $OpenBSD: bktr_os.c,v 1.28 2007/11/26 09:28:34 martynas Exp $ */ /* $FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.20 2000/10/20 08:16:53 roger Exp $ */ /* @@ -359,7 +359,7 @@ bktr_open(dev_t dev, int flags, int fmt, struct proc *p) bktr = bktr_cd.cd_devs[unit]; - if (!(bktr->flags & METEOR_INITALIZED)) /* device not found */ + if (!(bktr->flags & METEOR_INITIALIZED)) /* device not found */ return(ENXIO); switch (FUNCTION(dev)) { diff --git a/sys/dev/pci/bktr/bktr_reg.h b/sys/dev/pci/bktr/bktr_reg.h index d403ba41eee..e21b8a44b9b 100644 --- a/sys/dev/pci/bktr/bktr_reg.h +++ b/sys/dev/pci/bktr/bktr_reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bktr_reg.h,v 1.10 2007/06/11 08:10:22 robert Exp $ */ +/* $OpenBSD: bktr_reg.h,v 1.11 2007/11/26 09:28:34 martynas Exp $ */ /* * $FreeBSD: src/sys/dev/bktr/bktr_reg.h,v 1.42 2000/10/31 13:09:56 roger Exp $ * @@ -547,7 +547,7 @@ struct bktr_softc { u_short capcontrol; /* reg 0xdc capture control */ u_short bktr_cap_ctl; volatile u_int flags; -#define METEOR_INITALIZED 0x00000001 +#define METEOR_INITIALIZED 0x00000001 #define METEOR_OPEN 0x00000002 #define METEOR_MMAP 0x00000004 #define METEOR_INTR 0x00000008 @@ -587,10 +587,10 @@ struct bktr_softc { #define METEOR_RGB 0x20000000 /* meteor rgb unit */ #define METEOR_FIELD_MODE 0x80000000 u_char tflags; /* Tuner flags (/dev/tuner) */ -#define TUNER_INITALIZED 0x00000001 +#define TUNER_INITIALIZED 0x00000001 #define TUNER_OPEN 0x00000002 u_char vbiflags; /* VBI flags (/dev/vbi) */ -#define VBI_INITALIZED 0x00000001 +#define VBI_INITIALIZED 0x00000001 #define VBI_OPEN 0x00000002 #define VBI_CAPTURE 0x00000004 u_short fps; /* frames per second */ diff --git a/sys/dev/pci/if_bce.c b/sys/dev/pci/if_bce.c index 2a6ce0bec08..af520a0373f 100644 --- a/sys/dev/pci/if_bce.c +++ b/sys/dev/pci/if_bce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bce.c,v 1.20 2007/05/21 10:30:10 reyk Exp $ */ +/* $OpenBSD: if_bce.c,v 1.21 2007/11/26 09:28:33 martynas Exp $ */ /* $NetBSD: if_bce.c,v 1.3 2003/09/29 01:53:02 mrg Exp $ */ /* @@ -977,7 +977,7 @@ bce_init(struct ifnet *ifp) bus_space_write_4(sc->bce_btag, sc->bce_bhandle, BCE_DMA_RXADDR, sc->bce_ring_map->dm_segs[0].ds_addr + 0x40000000); /* MAGIC */ - /* Initalize receive descriptors */ + /* Initialize receive descriptors */ for (i = 0; i < BCE_NRXDESC; i++) { if (sc->bce_cdata.bce_rx_chain[i] == NULL) { if ((error = bce_add_rxbuf(sc, i)) != 0) { diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c index 9b0c7142aeb..2050448e419 100644 --- a/sys/dev/pci/if_lge.c +++ b/sys/dev/pci/if_lge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lge.c,v 1.45 2006/10/25 02:37:50 brad Exp $ */ +/* $OpenBSD: if_lge.c,v 1.46 2007/11/26 09:28:33 martynas Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -1057,7 +1057,7 @@ lge_intr(void *arg) sc = arg; ifp = &sc->arpcom.ac_if; - /* Supress unwanted interrupts */ + /* Suppress unwanted interrupts */ if (!(ifp->if_flags & IFF_UP)) { lge_stop(sc); return (0); diff --git a/sys/dev/pci/if_nge.c b/sys/dev/pci/if_nge.c index 03eaf8828ec..8d20d4127d7 100644 --- a/sys/dev/pci/if_nge.c +++ b/sys/dev/pci/if_nge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nge.c,v 1.56 2006/10/25 02:37:50 brad Exp $ */ +/* $OpenBSD: if_nge.c,v 1.57 2007/11/26 09:28:33 martynas Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -1513,7 +1513,7 @@ nge_intr(arg) sc = arg; ifp = &sc->arpcom.ac_if; - /* Supress unwanted interrupts */ + /* Suppress unwanted interrupts */ if (!(ifp->if_flags & IFF_UP)) { nge_stop(sc); return (0); diff --git a/sys/dev/pci/if_san_te1.c b/sys/dev/pci/if_san_te1.c index 2b976554501..36adb4bc7bc 100644 --- a/sys/dev/pci/if_san_te1.c +++ b/sys/dev/pci/if_san_te1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_san_te1.c,v 1.9 2005/07/07 20:58:50 canacar Exp $ */ +/* $OpenBSD: if_san_te1.c,v 1.10 2007/11/26 09:28:33 martynas Exp $ */ /*- * Copyright (c) 2001-2004 Sangoma Technologies (SAN) @@ -2026,7 +2026,7 @@ sdla_te_gettimeslot(void* pcard) unsigned long ts_map = card->fe_te.te_cfg.active_ch; if (IS_T1(&card->fe_te.te_cfg)) { - /* See explaination before. */ + /* See explanation before. */ ts_map = ts_map << 1; } return ts_map; diff --git a/sys/dev/pci/if_vgereg.h b/sys/dev/pci/if_vgereg.h index 34c26f5f4bb..35d847e2881 100644 --- a/sys/dev/pci/if_vgereg.h +++ b/sys/dev/pci/if_vgereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vgereg.h,v 1.1 2004/12/01 01:29:00 pvalchev Exp $ */ +/* $OpenBSD: if_vgereg.h,v 1.2 2007/11/26 09:28:33 martynas Exp $ */ /* $FreeBSD: if_vgereg.h,v 1.1 2004/09/10 20:57:45 wpaul Exp $ */ /* * Copyright (c) 2004 @@ -243,8 +243,8 @@ #define VGE_INTCTL_HC_RELOAD 0x02 /* enable hold timer reload */ #define VGE_INTCTL_STATUS 0x04 /* interrupt pending status */ #define VGE_INTCTL_MASK 0x18 /* multilayer int mask */ -#define VGE_INTCTL_RXINTSUP_DISABLE 0x20 /* disable RX int supression */ -#define VGE_INTCTL_TXINTSUP_DISABLE 0x40 /* disable TX int supression */ +#define VGE_INTCTL_RXINTSUP_DISABLE 0x20 /* disable RX int suppression */ +#define VGE_INTCTL_TXINTSUP_DISABLE 0x40 /* disable TX int suppression */ #define VGE_INTCTL_SOFTINT 0x80 /* request soft interrupt */ #define VGE_INTMASK_LAYER0 0x00 @@ -387,8 +387,8 @@ * the multicast hash filter or the CAM table) * - The behavior of the interrupt holdoff timer register at offset * 0x20 (the page select bits allow you to set the interrupt - * holdoff timer, the TX interrupt supression count or the - * RX interrupt supression count) + * holdoff timer, the TX interrupt suppression count or the + * RX interrupt suppression count) * - The behavior the WOL pattern programming registers at offset * 0xC0 (controls which pattern is set) */ diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c index 93ae423ff5a..8c3a184f238 100644 --- a/sys/dev/pci/if_vr.c +++ b/sys/dev/pci/if_vr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vr.c,v 1.70 2007/10/02 07:22:18 brad Exp $ */ +/* $OpenBSD: if_vr.c,v 1.71 2007/11/26 09:28:33 martynas Exp $ */ /* * Copyright (c) 1997, 1998 @@ -988,7 +988,7 @@ vr_intr(void *arg) sc = arg; ifp = &sc->arpcom.ac_if; - /* Supress unwanted interrupts. */ + /* Suppress unwanted interrupts. */ if (!(ifp->if_flags & IFF_UP)) { vr_stop(sc); return 0; diff --git a/sys/dev/pci/musycc.c b/sys/dev/pci/musycc.c index bdc8c0aa83d..caed3ebeeae 100644 --- a/sys/dev/pci/musycc.c +++ b/sys/dev/pci/musycc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: musycc.c,v 1.17 2007/10/01 15:34:48 krw Exp $ */ +/* $OpenBSD: musycc.c,v 1.18 2007/11/26 09:28:33 martynas Exp $ */ /* * Copyright (c) 2004,2005 Internet Business Solutions AG, Zurich, Switzerland @@ -309,7 +309,7 @@ musycc_alloc_group(struct musycc_group *mg) /* add all descriptors to the freelist */ for (j = 0; j < MUSYCC_DMA_CNT; j++) { dd = &mg->mg_dma_pool[j]; - /* initalize, same as for spare maps */ + /* initialize, same as for spare maps */ if (bus_dmamap_create(mg->mg_dmat, MCLBYTES, MUSYCC_DMA_SIZE, MCLBYTES, 0, BUS_DMA_NOWAIT, &dd->map)) { musycc_free_group(mg); diff --git a/sys/dev/raidframe/rf_dagflags.h b/sys/dev/raidframe/rf_dagflags.h index 29e2acb0141..5786b3b21a9 100644 --- a/sys/dev/raidframe/rf_dagflags.h +++ b/sys/dev/raidframe/rf_dagflags.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rf_dagflags.h,v 1.3 2002/12/16 07:01:03 tdeval Exp $ */ +/* $OpenBSD: rf_dagflags.h,v 1.4 2007/11/26 09:28:33 martynas Exp $ */ /* $NetBSD: rf_dagflags.h,v 1.3 1999/02/05 00:06:08 oster Exp $ */ /* @@ -46,13 +46,13 @@ * by DoAccess, SelectAlgorithm, and the DAG creation routines. * * If USE_DAG or USE_ASM is specified, neither the DAG nor the ASM - * will be modified, which means that you can't SUPRESS if you + * will be modified, which means that you can't SUPPRESS if you * specify USE_DAG. */ #define RF_DAG_FLAGS_NONE 0 /* No flags */ #define RF_DAG_SUPPRESS_LOCKS (1<<0) /* - * Supress all stripe locks in + * Suppress all stripe locks in * the DAG. */ #define RF_DAG_RETURN_ASM (1<<1) /* diff --git a/sys/dev/raidframe/rf_stripelocks.c b/sys/dev/raidframe/rf_stripelocks.c index 72b658a2e5a..4942c0ef914 100644 --- a/sys/dev/raidframe/rf_stripelocks.c +++ b/sys/dev/raidframe/rf_stripelocks.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rf_stripelocks.c,v 1.5 2002/12/16 07:01:05 tdeval Exp $ */ +/* $OpenBSD: rf_stripelocks.c,v 1.6 2007/11/26 09:28:33 martynas Exp $ */ /* $NetBSD: rf_stripelocks.c,v 1.5 2000/01/08 23:45:05 oster Exp $ */ /* @@ -277,7 +277,7 @@ rf_AcquireStripeLock(RF_LockTableEntry_t *lockTable, RF_StripeNum_t stripeID, if (rf_stripeLockDebug) { if (stripeID == -1) - Dprintf1("[%d] Lock acquisition supressed" + Dprintf1("[%d] Lock acquisition suppressed" " (stripeID == -1).\n", tid); else { Dprintf8("[%d] Trying to acquire stripe lock table" @@ -410,7 +410,7 @@ rf_ReleaseStripeLock(RF_LockTableEntry_t *lockTable, RF_StripeNum_t stripeID, if (rf_stripeLockDebug) { if (stripeID == -1) - Dprintf1("[%d] Lock release supressed" + Dprintf1("[%d] Lock release suppressed" " (stripeID == -1).\n", tid); else { Dprintf8("[%d] Releasing stripe lock on stripe ID %ld," diff --git a/sys/dev/sbus/rfx.c b/sys/dev/sbus/rfx.c index a8904e3b6d6..70a658484a3 100644 --- a/sys/dev/sbus/rfx.c +++ b/sys/dev/sbus/rfx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rfx.c,v 1.7 2006/12/17 22:18:16 miod Exp $ */ +/* $OpenBSD: rfx.c,v 1.8 2007/11/26 09:28:33 martynas Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. @@ -294,7 +294,7 @@ rfxattach(struct device *parent, struct device *self, void *args) /* * If we are not the console, the frame buffer has not been - * initalized by the PROM - do this ourselves. + * initialized by the PROM - do this ourselves. */ if (!isconsole) { if (rfx_initialize(sc, sa, &cf) != 0) diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c index 0e0401dc253..85a92695454 100644 --- a/sys/net/bridgestp.c +++ b/sys/net/bridgestp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bridgestp.c,v 1.29 2007/10/30 09:04:47 henning Exp $ */ +/* $OpenBSD: bridgestp.c,v 1.30 2007/11/26 09:28:33 martynas Exp $ */ /* * Copyright (c) 2000 Jason L. Wright (jason@thought.net) @@ -154,7 +154,7 @@ __FBSDID("$FreeBSD: /repoman/r/ncvs/src/sys/net/bridgestp.c,v 1.25 2006/11/03 03 #define BSTP_MSGTYPE_RSTP 0x02 /* Rapid STP */ #define BSTP_MSGTYPE_TCN 0x80 /* Topology chg notification */ -#define BSTP_INFO_RECIEVED 1 +#define BSTP_INFO_RECEIVED 1 #define BSTP_INFO_MINE 2 #define BSTP_INFO_AGED 3 #define BSTP_INFO_DISABLED 4 @@ -736,7 +736,7 @@ bstp_received_bpdu(struct bstp_state *bs, struct bstp_port *bp, bp->bp_rcvdtca = 1; if (bp->bp_agree && - !bstp_pdu_bettersame(bp, BSTP_INFO_RECIEVED)) + !bstp_pdu_bettersame(bp, BSTP_INFO_RECEIVED)) bp->bp_agree = 0; /* copy the received priority and timers to the port */ @@ -751,7 +751,7 @@ bstp_received_bpdu(struct bstp_state *bs, struct bstp_port *bp, /* set expiry for the new info */ bstp_set_timer_msgage(bp); - bp->bp_infois = BSTP_INFO_RECIEVED; + bp->bp_infois = BSTP_INFO_RECEIVED; bstp_assign_roles(bs); break; @@ -847,8 +847,8 @@ bstp_pdu_rcvtype(struct bstp_port *bp, struct bstp_config_unit *cu) int bstp_pdu_bettersame(struct bstp_port *bp, int newinfo) { - if (newinfo == BSTP_INFO_RECIEVED && - bp->bp_infois == BSTP_INFO_RECIEVED && + if (newinfo == BSTP_INFO_RECEIVED && + bp->bp_infois == BSTP_INFO_RECEIVED && bstp_info_cmp(&bp->bp_port_pv, &bp->bp_msg_cu.cu_pv) >= INFO_SAME) return (1); @@ -918,9 +918,9 @@ bstp_assign_roles(struct bstp_state *bs) bs->bs_root_htime = bs->bs_bridge_htime; bs->bs_root_port = NULL; - /* check if any recieved info supersedes us */ + /* check if any received info supersedes us */ LIST_FOREACH(bp, &bs->bs_bplist, bp_next) { - if (bp->bp_infois != BSTP_INFO_RECIEVED) + if (bp->bp_infois != BSTP_INFO_RECEIVED) continue; pv = bp->bp_port_pv; @@ -983,7 +983,7 @@ bstp_assign_roles(struct bstp_state *bs) bstp_update_info(bp); break; - case BSTP_INFO_RECIEVED: + case BSTP_INFO_RECEIVED: if (bp == rbp) { /* * root priority is derived from this @@ -1815,7 +1815,7 @@ bstp_hello_timer_expiry(struct bstp_state *bs, struct bstp_port *bp) void bstp_message_age_expiry(struct bstp_state *bs, struct bstp_port *bp) { - if (bp->bp_infois == BSTP_INFO_RECIEVED) { + if (bp->bp_infois == BSTP_INFO_RECEIVED) { bp->bp_infois = BSTP_INFO_AGED; bstp_assign_roles(bs); DPRINTF("aged info on %s\n", bp->bp_ifp->if_xname); diff --git a/sys/net/if_slvar.h b/sys/net/if_slvar.h index 97d946bdc44..62eaf525427 100644 --- a/sys/net/if_slvar.h +++ b/sys/net/if_slvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_slvar.h,v 1.12 2003/12/07 15:41:27 markus Exp $ */ +/* $OpenBSD: if_slvar.h,v 1.13 2007/11/26 09:28:33 martynas Exp $ */ /* $NetBSD: if_slvar.h,v 1.16 1996/05/07 02:40:46 thorpej Exp $ */ /*- @@ -105,7 +105,7 @@ struct ifslstatsreq { /* visible flags */ #define SC_COMPRESS IFF_LINK0 /* compress TCP traffic */ -#define SC_NOICMP IFF_LINK1 /* supress ICMP traffic */ +#define SC_NOICMP IFF_LINK1 /* suppress ICMP traffic */ #define SC_AUTOCOMP IFF_LINK2 /* auto-enable TCP compression */ /* diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index a13bd70227f..167871eccf7 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_spppsubr.c,v 1.63 2007/11/21 19:52:04 canacar Exp $ */ +/* $OpenBSD: if_spppsubr.c,v 1.64 2007/11/26 09:28:33 martynas Exp $ */ /* * Synchronous PPP/Cisco link level subroutines. * Keepalive protocol implemented in both Cisco and PPP modes. @@ -4016,7 +4016,7 @@ sppp_chap_tlu(struct sppp *sp) if ((sp->hisauth.flags & AUTHFLAG_NORECHALLENGE) == 0) addlog("next re-challenge in %d seconds\n", i); else - addlog("re-challenging supressed\n"); + addlog("re-challenging suppressed\n"); } x = splnet(); @@ -4545,7 +4545,7 @@ sppp_keepalive(void *dummy) /* And now prepare LCP to reestablish the link, if configured to do so. */ sppp_cp_change_state(&lcp, sp, STATE_STOPPED); - /* Close connection imediatly, completition of this + /* Close connection immediately, completition of this * will summon the magic needed to reestablish it. */ sp->pp_tlf(sp); continue; diff --git a/sys/net/if_stripvar.h b/sys/net/if_stripvar.h index a83c83d2c7b..ee4566fed1c 100644 --- a/sys/net/if_stripvar.h +++ b/sys/net/if_stripvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_stripvar.h,v 1.8 2002/03/14 01:27:09 millert Exp $ */ +/* $OpenBSD: if_stripvar.h,v 1.9 2007/11/26 09:28:33 martynas Exp $ */ /* $NetBSD: if_stripvar.h,v 1.2.4.1 1996/08/05 20:37:51 jtc Exp $ */ #ifndef _NET_IF_STRIPVAR_H_ @@ -51,7 +51,7 @@ struct st_softc { /* visible flags */ #define SC_COMPRESS IFF_LINK0 /* compress TCP traffic */ -#define SC_NOICMP IFF_LINK1 /* supress ICMP traffic */ +#define SC_NOICMP IFF_LINK1 /* suppress ICMP traffic */ #define SC_AUTOCOMP IFF_LINK2 /* auto-enable TCP compression */ #ifdef _KERNEL diff --git a/sys/net/if_trunk.c b/sys/net/if_trunk.c index 21658653fcf..0e765c98ca6 100644 --- a/sys/net/if_trunk.c +++ b/sys/net/if_trunk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_trunk.c,v 1.39 2007/11/20 20:42:11 canacar Exp $ */ +/* $OpenBSD: if_trunk.c,v 1.40 2007/11/26 09:28:33 martynas Exp $ */ /* * Copyright (c) 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org> @@ -1308,7 +1308,7 @@ trunk_fail_input(struct trunk_softc *tr, struct trunk_port *tp, if (tr->tr_primary->tp_link_state == LINK_STATE_DOWN) { tmp_tp = trunk_link_active(tr, NULL); /* - * If tmp_tp is null, we've recieved a packet when all + * If tmp_tp is null, we've received a packet when all * our links are down. Weird, but process it anyways. */ if ((tmp_tp == NULL || tmp_tp == tp)) { diff --git a/sys/net/zlib.c b/sys/net/zlib.c index 0a4392fa923..6d2a95084a9 100644 --- a/sys/net/zlib.c +++ b/sys/net/zlib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zlib.c,v 1.12 2003/12/10 07:22:42 itojun Exp $ */ +/* $OpenBSD: zlib.c,v 1.13 2007/11/26 09:28:33 martynas Exp $ */ /* $NetBSD: zlib.c,v 1.2 1996/03/16 23:55:40 christos Exp $ */ /* @@ -321,7 +321,7 @@ typedef struct deflate_state { int nice_match; /* Stop searching when current match exceeds this */ /* used by trees.c: */ - /* Didn't use ct_data typedef below to supress compiler warning */ + /* Didn't use ct_data typedef below to suppress compiler warning */ struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */ struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */ struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */ diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 986ebdfacd3..55ce64013f7 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.c,v 1.90 2007/09/01 18:49:28 henning Exp $ */ +/* $OpenBSD: in_pcb.c,v 1.91 2007/11/26 09:28:33 martynas Exp $ */ /* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */ /* @@ -116,7 +116,7 @@ int ipport_hifirstauto = IPPORT_HIFIRSTAUTO; int ipport_hilastauto = IPPORT_HILASTAUTO; struct pool inpcb_pool; -int inpcb_pool_initalized = 0; +int inpcb_pool_initialized = 0; #define INPCBHASH(table, faddr, fport, laddr, lport) \ &(table)->inpt_hashtbl[(ntohl((faddr)->s_addr) + \ @@ -191,10 +191,10 @@ in_pcballoc(so, v) struct inpcb *inp; int s; - if (inpcb_pool_initalized == 0) { + if (inpcb_pool_initialized == 0) { pool_init(&inpcb_pool, sizeof(struct inpcb), 0, 0, 0, "inpcbpl", NULL); - inpcb_pool_initalized = 1; + inpcb_pool_initialized = 1; } inp = pool_get(&inpcb_pool, PR_NOWAIT); if (inp == NULL) diff --git a/sys/netinet/ip_id.c b/sys/netinet/ip_id.c index 339cf09e084..f557519f76f 100644 --- a/sys/netinet/ip_id.c +++ b/sys/netinet/ip_id.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_id.c,v 1.14 2007/05/27 19:59:11 dlg Exp $ */ +/* $OpenBSD: ip_id.c,v 1.15 2007/11/26 09:28:33 martynas Exp $ */ /* * Copyright 1998 Niels Provos <provos@citi.umich.edu> @@ -106,7 +106,7 @@ pmod(u_int16_t gen, u_int16_t expo, u_int16_t mod) } /* - * Initalizes the seed and chooses a suitable generator. Also toggles + * Initializes the seed and chooses a suitable generator. Also toggles * the msb flag. The msb flag is used to generate two distinct * cycles of random numbers and thus avoiding reuse of ids. * diff --git a/sys/netinet6/ip6_id.c b/sys/netinet6/ip6_id.c index 9765b4c9689..cb3738869d9 100644 --- a/sys/netinet6/ip6_id.c +++ b/sys/netinet6/ip6_id.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_id.c,v 1.4 2004/06/21 23:50:37 tholo Exp $ */ +/* $OpenBSD: ip6_id.c,v 1.5 2007/11/26 09:28:33 martynas Exp $ */ /* $NetBSD: ip6_id.c,v 1.7 2003/09/13 21:32:59 itojun Exp $ */ /* $KAME: ip6_id.c,v 1.8 2003/09/06 13:41:06 itojun Exp $ */ @@ -163,7 +163,7 @@ pmod(u_int32_t gen, u_int32_t expo, u_int32_t mod) } /* - * Initalizes the seed and chooses a suitable generator. Also toggles + * Initializes the seed and chooses a suitable generator. Also toggles * the msb flag. The msb flag is used to generate two distinct * cycles of random numbers and thus avoiding reuse of ids. * |