Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.

Add a space between numbers and Hz unit.
This commit is contained in:
lukem 2006-03-08 23:46:22 +00:00
parent 9e93b0c323
commit a1f606d3fd
89 changed files with 327 additions and 327 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ascreg.h,v 1.4 2005/12/24 20:06:46 perry Exp $ */
/* $NetBSD: ascreg.h,v 1.5 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@ -206,10 +206,10 @@ struct sdmac {
* My ID register, and/or CDB Size
*/
#define SBIC_ID_FS_8_10 0x00 /* Input clock is 8-10 Mhz */
/* 11 Mhz is invalid */
#define SBIC_ID_FS_12_15 0x40 /* Input clock is 12-15 Mhz */
#define SBIC_ID_FS_16_20 0x80 /* Input clock is 16-20 Mhz */
#define SBIC_ID_FS_8_10 0x00 /* Input clock is 8-10 MHz */
/* 11 MHz is invalid */
#define SBIC_ID_FS_12_15 0x40 /* Input clock is 12-15 MHz */
#define SBIC_ID_FS_16_20 0x80 /* Input clock is 16-20 MHz */
#define SBIC_ID_EHP 0x10 /* Enable host parity */
#define SBIC_ID_EAF 0x08 /* Enable Advanced Features */
#define SBIC_ID_MASK 0x07

View File

@ -1,4 +1,4 @@
/* $NetBSD: esc.c,v 1.17 2005/12/11 12:16:05 christos Exp $ */
/* $NetBSD: esc.c,v 1.18 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: esc.c,v 1.17 2005/12/11 12:16:05 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: esc.c,v 1.18 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -891,7 +891,7 @@ esc_setup_nexus(dev, nexus, pendp, cbuf, clen, buf, len, mode)
* If the scsi unit is not set to synch transfer and we want
* that, we have to negotiate. This should realy base the
* period on the clock frequence rather than just check if
* >25Mhz
* >25 MHz
*/
nexus->flags |= ESC_NF_DO_SDTR;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbic.c,v 1.10 2005/12/11 12:16:05 christos Exp $ */
/* $NetBSD: sbic.c,v 1.11 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 2001 Richard Earnshaw
@ -114,7 +114,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.10 2005/12/11 12:16:05 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.11 2006/03/08 23:46:22 lukem Exp $");
#include <sys/systm.h>
#include <sys/callout.h>
@ -2319,7 +2319,7 @@ sbictoscsiperiod(struct sbic_softc *dev, sbic_regmap_p regs, int a)
/*
* cycle = DIV / (2*CLK)
* DIV = FS+2
* best we can do is 200ns at 20Mhz, 2 cycles
* best we can do is 200ns at 20 MHz, 2 cycles
*/
GET_SBIC_myid(regs,fs);

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbicreg.h,v 1.4 2005/12/11 12:16:05 christos Exp $ */
/* $NetBSD: sbicreg.h,v 1.5 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -101,10 +101,10 @@
* My ID register, and/or CDB Size
*/
#define SBIC_ID_FS_8_10 0x00 /* Input clock is 8-10 Mhz */
/* 11 Mhz is invalid */
#define SBIC_ID_FS_12_15 0x40 /* Input clock is 12-15 Mhz */
#define SBIC_ID_FS_16_20 0x80 /* Input clock is 16-20 Mhz */
#define SBIC_ID_FS_8_10 0x00 /* Input clock is 8-10 MHz */
/* 11 MHz is invalid */
#define SBIC_ID_FS_12_15 0x40 /* Input clock is 12-15 MHz */
#define SBIC_ID_FS_16_20 0x80 /* Input clock is 16-20 MHz */
#define SBIC_ID_EHP 0x10 /* Enable host parity */
#define SBIC_ID_EAF 0x08 /* Enable Advanced Features */
#define SBIC_ID_MASK 0x07
@ -126,7 +126,7 @@
/*
* Timeout period register
* [val in msecs, input clk in 0.1 Mhz]
* [val in msecs, input clk in 0.1 MHz]
*/
#define SBIC_TIMEOUT(val,clk) ((((val) * (clk)) / 800) + 1)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sfas.c,v 1.15 2005/12/11 12:16:05 christos Exp $ */
/* $NetBSD: sfas.c,v 1.16 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sfas.c,v 1.15 2005/12/11 12:16:05 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: sfas.c,v 1.16 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -812,7 +812,7 @@ sfas_setup_nexus(dev, nexus, pendp, cbuf, clen, buf, len, mode)
* If the scsi unit is not set to synch transfer and we want
* that, we have to negotiate. This should realy base the
* period on the clock frequence rather than just check if
* >25Mhz
* >25 MHz
*/
nexus->flags |= SFAS_NF_DO_SDTR;

View File

@ -1,4 +1,4 @@
/* $NetBSD: afsc.c,v 1.36 2005/12/11 12:16:27 christos Exp $ */
/* $NetBSD: afsc.c,v 1.37 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: afsc.c,v 1.36 2005/12/11 12:16:27 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: afsc.c,v 1.37 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -151,7 +151,7 @@ afscattach(struct device *pdp, struct device *dp, void *auxp)
/*
* CTEST7 = 80 [disable burst]
*/
sc->sc_clock_freq = 50; /* Clock = 50Mhz */
sc->sc_clock_freq = 50; /* Clock = 50 MHz */
sc->sc_ctest7 = SIOP_CTEST7_CDIS;
sc->sc_dcntl = SIOP_DCNTL_EA;

View File

@ -1,4 +1,4 @@
/* $NetBSD: aucc.c,v 1.39 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: aucc.c,v 1.40 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1999 Bernardo Innocenti
@ -44,7 +44,7 @@
*
* - rely on auconv.c routines for mu-law/A-law conversions
* - perhaps use a calibration table for better 14bit output
* - set 31KHz AGA video mode to allow 44.1KHz even if grfcc is missing
* - set 31 kHz AGA video mode to allow 44.1 kHz even if grfcc is missing
* in the kernel
* - 14bit output requires maximum volume
*/
@ -53,7 +53,7 @@
#if NAUCC > 0
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: aucc.c,v 1.39 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: aucc.c,v 1.40 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: bzivsc.c,v 1.18 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: bzivsc.c,v 1.19 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bzivsc.c,v 1.18 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: bzivsc.c,v 1.19 2006/03/08 23:46:22 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -174,7 +174,7 @@ bzivscattach(struct device *parent, struct device *self, void *aux)
bsc->sc_reg = &((volatile u_char *)zap->va)[0x8000];
bsc->sc_dmabase = &bsc->sc_reg[0x8000];
sc->sc_freq = 40; /* Clocked at 40Mhz */
sc->sc_freq = 40; /* Clocked at 40 MHz */
printf(": address %p", bsc->sc_reg);

View File

@ -1,4 +1,4 @@
/* $NetBSD: bzsc.c,v 1.36 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: bzsc.c,v 1.37 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bzsc.c,v 1.36 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: bzsc.c,v 1.37 2006/03/08 23:46:22 lukem Exp $");
/*
* Initial amiga Blizzard 1230-II driver by Daniel Widenfalk. Conversion to
@ -178,7 +178,7 @@ bzscattach(struct device *parent, struct device *self, void *aux)
bsc->sc_reg = &((volatile u_char *)zap->va)[0x10000];
bsc->sc_dmabase = &bsc->sc_reg[0x21];
sc->sc_freq = 40; /* Clocked at 40Mhz */
sc->sc_freq = 40; /* Clocked at 40 MHz */
printf(": address %p", bsc->sc_reg);

View File

@ -1,4 +1,4 @@
/* $NetBSD: bztzsc.c,v 1.23 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: bztzsc.c,v 1.24 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bztzsc.c,v 1.23 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: bztzsc.c,v 1.24 2006/03/08 23:46:22 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -176,7 +176,7 @@ bztzscattach(struct device *parent, struct device *self, void *aux)
bsc->sc_reg = &((volatile u_char *)zap->va)[0x1ff00];
bsc->sc_dmabase = &bsc->sc_reg[0xf0];
sc->sc_freq = 40; /* Clocked at 40Mhz */
sc->sc_freq = 40; /* Clocked at 40 MHz */
printf(": address %p", bsc->sc_reg);

View File

@ -1,4 +1,4 @@
/* $NetBSD: cbiiisc.c,v 1.14 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: cbiiisc.c,v 1.15 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cbiiisc.c,v 1.14 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: cbiiisc.c,v 1.15 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -127,7 +127,7 @@ cbiiiscattach(struct device *pdp, struct device *dp, void *auxp)
/*
* CTEST7 = 00
*/
sc->sc_clock_freq = 50; /* Clock = 50 Mhz >> */
sc->sc_clock_freq = 50; /* Clock = 50 MHz >> */
sc->sc_ctest7 = 0x00;
sc->sc_dcntl = 0x20; /* XXX ?? */

View File

@ -1,4 +1,4 @@
/* $NetBSD: cbiisc.c,v 1.19 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: cbiisc.c,v 1.20 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cbiisc.c,v 1.19 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: cbiisc.c,v 1.20 2006/03/08 23:46:22 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -170,7 +170,7 @@ cbiiscattach(struct device *parent, struct device *self, void *aux)
csc->sc_reg = &((volatile u_char *)zap->va)[0x1ff03];
csc->sc_dmabase = &csc->sc_reg[0x80];
sc->sc_freq = 40; /* Clocked at 40Mhz */
sc->sc_freq = 40; /* Clocked at 40 MHz */
printf(": address %p", csc->sc_reg);

View File

@ -1,4 +1,4 @@
/* $NetBSD: cbsc.c,v 1.20 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: cbsc.c,v 1.21 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cbsc.c,v 1.20 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: cbsc.c,v 1.21 2006/03/08 23:46:22 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -174,7 +174,7 @@ cbscattach(struct device *parent, struct device *self, void *aux)
csc->sc_reg = &((volatile u_char *)zap->va)[0xf400];
csc->sc_dmabase = &csc->sc_reg[0x400];
sc->sc_freq = 40; /* Clocked at 40Mhz */
sc->sc_freq = 40; /* Clocked at 40 MHz */
printf(": address %p", csc->sc_reg);

View File

@ -1,4 +1,4 @@
/* $NetBSD: flsc.c,v 1.35 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: flsc.c,v 1.36 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1997 Michael L. Hitch
@ -44,7 +44,7 @@
#include "opt_ddb.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: flsc.c,v 1.35 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: flsc.c,v 1.36 2006/03/08 23:46:22 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -159,7 +159,7 @@ flscattach(struct device *parent, struct device *self, void *aux)
fsc->sc_dmabase = (volatile u_char *)zap->va;
fsc->sc_reg = &((volatile u_char *)zap->va)[0x1000001];
sc->sc_freq = 40; /* Clocked at 40Mhz */
sc->sc_freq = 40; /* Clocked at 40 MHz */
printf(": address %p", fsc->sc_reg);

View File

@ -1,4 +1,4 @@
/* $NetBSD: grfabs_cc.c,v 1.27 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: grfabs_cc.c,v 1.28 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -38,7 +38,7 @@
#include "opt_amigaccgrf.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: grfabs_cc.c,v 1.27 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: grfabs_cc.c,v 1.28 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -1506,7 +1506,7 @@ cc_init_ntsc_a2024(void)
bzero(a24_this, sizeof(dmode_t));
bzero(a24_this_data, sizeof(dmdata_t));
a24_this->name = "ntsc: A2024 15khz";
a24_this->name = "ntsc: A2024 15 kHz";
a24_this->nominal_size.width = 1024;
a24_this->nominal_size.height = 800;
a24_this_data->max_size.width = 1024;
@ -2984,7 +2984,7 @@ cc_init_pal_a2024(void)
bzero(p24_this, sizeof(dmode_t));
bzero(p24_this_data, sizeof(dmdata_t));
p24_this->name = "pal: A2024 15khz";
p24_this->name = "pal: A2024 15 kHz";
p24_this->nominal_size.width = 1024;
p24_this->nominal_size.height = 1024;
p24_this_data->max_size.width = 1024;

View File

@ -1,4 +1,4 @@
/* $NetBSD: grfabs_ccreg.h,v 1.8 2002/01/26 13:40:56 aymeric Exp $ */
/* $NetBSD: grfabs_ccreg.h,v 1.9 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -244,7 +244,7 @@ enum quad_frame_numbers {
/* defines for bplcon3 register */
#define BPLCON3_EXTBLNKEN (1<<0) /* external blank enable */
#define BPLCON3_EXTBLKZD (1<<1) /* external blank ored into trnsprncy */
#define BPLCON3_ZDCLKEN (1<<2) /* zd pin outputs a 14mhz clock*/
#define BPLCON3_ZDCLKEN (1<<2) /* zd pin outputs a 14 MHz clock*/
#define BPLCON3_BRDNTRAN (1<<4) /* border is opaque */
#define BPLCON3_BRDNBLNK (1<<5) /* border is opaque */

View File

@ -1,4 +1,4 @@
/* $NetBSD: gtsc.c,v 1.35 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: gtsc.c,v 1.36 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gtsc.c,v 1.35 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: gtsc.c,v 1.36 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -198,7 +198,7 @@ gtscattach(struct device *pdp, struct device *dp, void *auxp)
sc->sc_clkfreq = gtsc_clock_override ? gtsc_clock_override :
((gap->flags & GVP_14MHZ) ? 143 : 72);
printf("sc_clkfreg: %ld.%ldMhz\n", sc->sc_clkfreq / 10, sc->sc_clkfreq % 10);
printf("sc_clkfreg: %ld.%ld MHz\n", sc->sc_clkfreq / 10, sc->sc_clkfreq % 10);
/*
* Fill in the scsipi_adapter.

View File

@ -1,4 +1,4 @@
/* $NetBSD: mgnsc.c,v 1.39 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: mgnsc.c,v 1.40 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mgnsc.c,v 1.39 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: mgnsc.c,v 1.40 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -123,7 +123,7 @@ mgnscattach(struct device *pdp, struct device *dp, void *auxp)
/*
* CTEST7 = TT1
*/
sc->sc_clock_freq = 33; /* Clock = 33Mhz */
sc->sc_clock_freq = 33; /* Clock = 33 MHz */
sc->sc_ctest7 = SIOP_CTEST7_TT1;
sc->sc_dcntl = 0x00;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbic.c,v 1.56 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: sbic.c,v 1.57 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -78,7 +78,7 @@
#include "opt_ddb.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.56 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.57 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -2569,7 +2569,7 @@ sbictoscsiperiod(struct sbic_softc *dev, sbic_regmap_t regs, int a)
/*
* cycle = DIV / (2*CLK)
* DIV = FS+2
* best we can do is 200ns at 20Mhz, 2 cycles
* best we can do is 200ns at 20 MHz, 2 cycles
*/
GET_SBIC_myid(regs,fs);

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbicreg.h,v 1.5 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: sbicreg.h,v 1.6 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -101,10 +101,10 @@
* My ID register, and/or CDB Size
*/
#define SBIC_ID_FS_8_10 0x00 /* Input clock is 8-10 Mhz */
/* 11 Mhz is invalid */
#define SBIC_ID_FS_12_15 0x40 /* Input clock is 12-15 Mhz */
#define SBIC_ID_FS_16_20 0x80 /* Input clock is 16-20 Mhz */
#define SBIC_ID_FS_8_10 0x00 /* Input clock is 8-10 MHz */
/* 11 MHz is invalid */
#define SBIC_ID_FS_12_15 0x40 /* Input clock is 12-15 MHz */
#define SBIC_ID_FS_16_20 0x80 /* Input clock is 16-20 MHz */
#define SBIC_ID_EHP 0x10 /* Enable host parity */
#define SBIC_ID_EAF 0x08 /* Enable Advanced Features */
#define SBIC_ID_MASK 0x07
@ -126,7 +126,7 @@
/*
* Timeout period register
* [val in msecs, input clk in 0.1 Mhz]
* [val in msecs, input clk in 0.1 MHz]
*/
#define SBIC_TIMEOUT(val,clk) ((((val) * (clk)) / 800) + 1)

View File

@ -1,4 +1,4 @@
/* $NetBSD: siop.c,v 1.53 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: siop.c,v 1.54 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -70,7 +70,7 @@
#include "opt_ddb.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: siop.c,v 1.53 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: siop.c,v 1.54 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -133,7 +133,7 @@ int siop_init_wait = SCSI_INIT_WAIT;
#ifdef DEBUG_SYNC
/*
* sync period transfer lookup - only valid for 66Mhz clock
* sync period transfer lookup - only valid for 66 MHz clock
*/
static struct {
unsigned char p; /* period from sync request message */

View File

@ -1,4 +1,4 @@
/* $NetBSD: siop2.c,v 1.25 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: siop2.c,v 1.26 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -70,7 +70,7 @@
#include "opt_ddb.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: siop2.c,v 1.25 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: siop2.c,v 1.26 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -1646,7 +1646,7 @@ siopngintr(register struct siop_softc *sc)
}
/*
* This is based on the Progressive Peripherals 33Mhz Zeus driver and will
* This is based on the Progressive Peripherals 33 MHz Zeus driver and will
* not be correct for other 53c710 boards.
*
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: siopreg.h,v 1.13 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: siopreg.h,v 1.14 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -564,10 +564,10 @@ typedef volatile siop_regmap_t *siop_regmap_p;
#ifndef ARCH_720
#define SIOP_DCNTL_CF_MASK 0xc0 /* Clock frequency dividers:
0 --> 37.51..50.00 Mhz, div=2
1 --> 25.01..37.50 Mhz, div=1.5
2 --> 16.67..25.00 Mhz, div=1
3 --> 50.01..66.67 Mhz, div=3
0 --> 37.51..50.00 MHz, div=2
1 --> 25.01..37.50 MHz, div=1.5
2 --> 16.67..25.00 MHz, div=1
3 --> 50.01..66.67 MHz, div=3
*/
#else
#define SIOP_DCNTL_STE 0x80 /* Size Throttle Enable */

View File

@ -1,4 +1,4 @@
/* $NetBSD: wesc.c,v 1.34 2005/12/11 12:16:28 christos Exp $ */
/* $NetBSD: wesc.c,v 1.35 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wesc.c,v 1.34 2005/12/11 12:16:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: wesc.c,v 1.35 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -125,7 +125,7 @@ wescattach(struct device *pdp, struct device *dp, void *auxp)
/*
* CTEST7 = SC0, TT1
*/
sc->sc_clock_freq = 50; /* Clock = 50Mhz */
sc->sc_clock_freq = 50; /* Clock = 50 MHz */
sc->sc_ctest7 = SIOP_CTEST7_SC0 | SIOP_CTEST7_TT1;
sc->sc_dcntl = 0x00;

View File

@ -1,4 +1,4 @@
/* $NetBSD: zssc.c,v 1.37 2005/12/11 12:16:29 christos Exp $ */
/* $NetBSD: zssc.c,v 1.38 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: zssc.c,v 1.37 2005/12/11 12:16:29 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: zssc.c,v 1.38 2006/03/08 23:46:22 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -119,7 +119,7 @@ zsscattach(struct device *pdp, struct device *dp, void *auxp)
/*
* CTEST7 = 00
*/
sc->sc_clock_freq = 66; /* Clock = 66Mhz */
sc->sc_clock_freq = 66; /* Clock = 66 MHz */
sc->sc_ctest7 = 0x00;
sc->sc_dcntl = 0x00;

View File

@ -1,4 +1,4 @@
/* $NetBSD: epsoc.c,v 1.5 2005/11/12 05:33:23 hamajima Exp $ */
/* $NetBSD: epsoc.c,v 1.6 2006/03/08 23:46:22 lukem Exp $ */
/*
* Copyright (c) 2004 Jesse Off
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: epsoc.c,v 1.5 2005/11/12 05:33:23 hamajima Exp $");
__KERNEL_RCSID(0, "$NetBSD: epsoc.c,v 1.6 2006/03/08 23:46:22 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -152,7 +152,7 @@ epsoc_attach(struct device *parent, struct device *self, void *aux)
else
fclk = 14745600ULL;
}
printf("%s: fclk %lld.%02lld Mhz hclk %lld.%02lld Mhz pclk %lld.%02lld Mhz\n",
printf("%s: fclk %lld.%02lld MHz hclk %lld.%02lld MHz pclk %lld.%02lld MHz\n",
sc->sc_dev.dv_xname,
fclk / 1000000, (fclk % 1000000 + 5000) / 10000,
hclk / 1000000, (hclk % 1000000 + 5000) / 10000,

View File

@ -1,4 +1,4 @@
/* $NetBSD: vidc20.c,v 1.13 2005/12/11 12:16:47 christos Exp $ */
/* $NetBSD: vidc20.c,v 1.14 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vidc20.c,v 1.13 2005/12/11 12:16:47 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: vidc20.c,v 1.14 2006/03/08 23:46:23 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -77,7 +77,7 @@ int *vidc_base = (int *)VIDC_BASE;
/*
* vidc_fref is the reference frequency in Mhz of the detected VIDC
* vidc_fref is the reference frequency in MHz of the detected VIDC
* (dependent on IOMD/IOC)
* XXX default is RPC600 ?
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: i80312_i2c.c,v 1.2 2005/12/11 12:16:51 christos Exp $ */
/* $NetBSD: i80312_i2c.c,v 1.3 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: i80312_i2c.c,v 1.2 2005/12/11 12:16:51 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: i80312_i2c.c,v 1.3 2006/03/08 23:46:23 lukem Exp $");
#include <sys/param.h>
#include <sys/lock.h>
@ -104,7 +104,7 @@ iic312_attach(struct device *parent, struct device *self, void *aux)
#endif
/*
* Enable the I2C unit as a master running at 100.0 KHz (ICCR=0x1f4
* Enable the I2C unit as a master running at 100.0 kHz (ICCR=0x1f4
* per p.12-8 of the i80312 developer's manual).
* No, we do not support slave mode.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: pxa2x0reg.h,v 1.7 2005/12/11 12:16:52 christos Exp $ */
/* $NetBSD: pxa2x0reg.h,v 1.8 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 2002 Genetec Corporation. All rights reserved.
@ -266,8 +266,8 @@ struct pxa2x0_dma_desc {
#define CKEN_I2C (1<<14)
#define CKEN_LCD (1<<16)
#define OSCC_OOK (1<<0) /* 32.768KHz oscillator status */
#define OSCC_OON (1<<1) /* 32.768KHz oscillator */
#define OSCC_OOK (1<<0) /* 32.768 kHz oscillator status */
#define OSCC_OON (1<<1) /* 32.768 kHz oscillator */
/*
* RTC

View File

@ -1,4 +1,4 @@
/* $NetBSD: zs.c,v 1.45 2005/12/11 12:16:54 christos Exp $ */
/* $NetBSD: zs.c,v 1.46 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 1992, 1993
@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.45 2005/12/11 12:16:54 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.46 2006/03/08 23:46:23 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -158,7 +158,7 @@ static u_char zs_init_regs[16] = {
static u_long zs_freqs_tt[] = {
/*
* Atari TT, RTxCB is generated by TT-MFP timer C,
* which is set to 307.2KHz during initialisation
* which is set to 307.2 kHz during initialisation
* and never changed afterwards.
*/
PCLK/16, /* BRgen, PCLK, divisor 16 */

View File

@ -1,4 +1,4 @@
/* $NetBSD: g42xxeb_lcd.c,v 1.3 2006/02/23 05:37:47 thorpej Exp $ */
/* $NetBSD: g42xxeb_lcd.c,v 1.4 2006/03/08 23:46:23 lukem Exp $ */
/*-
* Copyright (c) 2001, 2002, 2005 Genetec corp.
@ -173,7 +173,7 @@ const struct lcd_panel_geometry toshiba_LTM035 =
LCDPANEL_SINGLE|LCDPANEL_ACTIVE| /* LCDPANEL_PCP| */
LCDPANEL_VSP|LCDPANEL_HSP,
11, /* clock divider, 4.5MHz at 100Mhz */
11, /* clock divider, 4.5 MHz at 100 MHz */
/* required: 4.28..4.7 MHz */
0xff, /* AC bias pin freq */

View File

@ -1,4 +1,4 @@
/* $NetBSD: g42xxeb_machdep.c,v 1.6 2005/12/24 20:06:59 perry Exp $ */
/* $NetBSD: g42xxeb_machdep.c,v 1.7 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 2002, 2003, 2004, 2005 Genetec Corporation.
@ -442,7 +442,7 @@ initarm(void *arg)
LEDSTEP_P();
/* start 32.768KHz OSC */
/* start 32.768 kHz OSC */
ioreg_write(G42XXEB_CLKMAN_VBASE + 0x08, 2);
/* Get ready for splfoo() */
pxa2x0_intr_bootstrap(G42XXEB_INTCTL_VBASE);

View File

@ -1,4 +1,4 @@
/* $NetBSD: lubbock_machdep.c,v 1.10 2005/12/24 20:07:03 perry Exp $ */
/* $NetBSD: lubbock_machdep.c,v 1.11 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@ -112,7 +112,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.10 2005/12/24 20:07:03 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.11 2006/03/08 23:46:23 lukem Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -446,7 +446,7 @@ initarm(void *arg)
LEDSTEP_P();
/* start 32.768KHz OSC */
/* start 32.768 kHz OSC */
ioreg_write(LUBBOCK_CLKMAN_VBASE + 0x08, 2);
/* Get ready for splfoo() */
pxa2x0_intr_bootstrap(LUBBOCK_INTCTL_VBASE);

View File

@ -1,4 +1,4 @@
$NetBSD: README,v 1.3 2006/03/04 13:17:18 scw Exp $
$NetBSD: README,v 1.4 2006/03/08 23:46:23 lukem Exp $
NetBSD for the Linksys NSLU2 (a.k.a. "Slug")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -53,9 +53,9 @@ The following bits of Slug hardware are not (yet?) supported:
- Buzzer
In the absence of a decent API to expose the onboard buzzer to userland,
this is not yet supported. I envisage using timer1 to generate an
interrupt at the required rate (1-2KHz). The handler will toggle the
interrupt at the required rate (1-2 kHz). The handler will toggle the
buzzer GPIO pin. Obviously timer1 will be configured only when necessary
as a 1-2KHz interrupt rate will sap a fair bit of CPU horsepower.
as a 1-2 kHz interrupt rate will sap a fair bit of CPU horsepower.
Everything else is fully supported, including the power/reset buttons and
disk activity/status LEDs.

View File

@ -1,4 +1,4 @@
/* $NetBSD: epcom.c,v 1.3 2005/12/24 20:07:03 perry Exp $ */
/* $NetBSD: epcom.c,v 1.4 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 2004 Jesse Off
@ -63,7 +63,7 @@ cons_init(void)
while(!ISSET(EPCOM_READ(Flag), Flag_TXFE));
/* Make UART base freq 7Mhz */
/* Make UART base freq 7 MHz */
pwrcnt = SYSCON_READ(PwrCnt);
pwrcnt &= ~(PwrCnt_UARTBAUD);
SYSCON_WRITE(PwrCnt, pwrcnt);

View File

@ -1,4 +1,4 @@
/* $NetBSD: viper_machdep.c,v 1.2 2005/12/11 12:17:11 christos Exp $ */
/* $NetBSD: viper_machdep.c,v 1.3 2006/03/08 23:46:23 lukem Exp $ */
/*
* Startup routines for the Arcom Viper. Below you can trace the
@ -112,7 +112,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: viper_machdep.c,v 1.2 2005/12/11 12:17:11 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: viper_machdep.c,v 1.3 2006/03/08 23:46:23 lukem Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -413,7 +413,7 @@ initarm(void *arg)
/* Register devmap for devices we mapped in start */
pmap_devmap_register(viper_devmap);
/* start 32.768KHz OSC */
/* start 32.768 kHz OSC */
ioreg_write(VIPER_CLKMAN_VBASE + 0x08, 2);
/* Get ready for splfoo() */
pxa2x0_intr_bootstrap(VIPER_INTCTL_VBASE);

View File

@ -1,4 +1,4 @@
/* $NetBSD: walnut.h,v 1.1 2002/12/09 12:16:20 scw Exp $ */
/* $NetBSD: walnut.h,v 1.2 2006/03/08 23:46:23 lukem Exp $ */
/* include/eval.h, openbios_walnut, walnut_bios 8/10/00 14:35:05 */
/*-----------------------------------------------------------------------------+
@ -142,11 +142,11 @@
#define SW_SEL1 0x20 /* use test clock for master clock */
#define SW_SEL0 0x10 /* use 405GP arbiter */
#define FSEL_B 0x0c /* use for mask */
#define FSEL_SDRAM100 0x01 /* select 100Mhz SDRAM */
#define FSEL_SDRAM66 0x03 /* select 66Mhz SDRAM */
#define FSEL_SDRAM100 0x01 /* select 100 MHz SDRAM */
#define FSEL_SDRAM66 0x03 /* select 66 MHz SDRAM */
#define FSEL_A 0x03 /* use for mask */
#define FSEL_PCI_66 0x01 /* select 66Mhz async int PCI */
#define FSEL_PCI_33 0x03 /* select 33Mhz async int PCI */
#define FSEL_PCI_66 0x01 /* select 66 MHz async int PCI */
#define FSEL_PCI_33 0x03 /* select 33 MHz async int PCI */
#define FPGA_SPARE1 0x0e /* Spare inputs - read only */
#define FPGA_SPARE2 0x0f /* Spare outputs */
#define FPGA_SIZE FPGA_SPARE2

View File

@ -1,4 +1,4 @@
$NetBSD: Options,v 1.8 2001/11/24 06:53:17 isaki Exp $
$NetBSD: Options,v 1.9 2006/03/08 23:46:23 lukem Exp $
Here is a list of hp300 specific kernel compilation options and what they
mean:
@ -9,34 +9,34 @@ HAVEVAC
HP350 is.
HP320
Support for old hp320 machines: 16mhz 68020, HP MMU, 16mhz 68881
Support for old hp320 machines: 16 MHz 68020, HP MMU, 16 MHz 68881
and VAC. Compiles in support for a VAC, HP MMU, and the 98620A
16-bit DMA channel. Forces the definition of HAVEVAC.
HP350
Support for old hp350 machines: 25mhz 68020, HP MMU, 20mhz 68881
Support for old hp350 machines: 25 MHz 68020, HP MMU, 20 MHz 68881
and VAC. Compiles in support for a VAC and the HP MMU. Differs
from HP320 in that it has no support for 16-bit DMA controller.
Forces the definition of HAVEVAC.
HP330
Support for old hp330 (and 318/319) machines: 16mhz 68020, 68851 PMMU
and 16mhz 68881. Compiles in support for PMMU.
Support for old hp330 (and 318/319) machines: 16 MHz 68020, 68851 PMMU
and 16 MHz 68881. Compiles in support for PMMU.
HP340
HP360
Support for old 340 and hp360 machines: 25mhz 68030+MMU and 25mhz
Support for old 340 and hp360 machines: 25 MHz 68030+MMU and 25 MHz
68882. Compiles in support for PMMU and 68030. Differs from HP330
in support for 68030 on-chip data cache.
HP370
Support for old hp370 (and current 345/375/400) machines: 33 (50) mhz
68030+MMU and 33 (50) mhz 68882. Compiles in support for PMMU, 68030
Support for old hp370 (and current 345/375/400) machines: 33 (50) MHz
68030+MMU and 33 (50) MHz 68882. Compiles in support for PMMU, 68030
and off-chip physically addressed cache. Differs from 360 in only one
place, in dealing with flushing the external cache.
HP380
Support for "current" hp380/425 (and 433) machines: 25 (33) mhz 68040
Support for "current" hp380/425 (and 433) machines: 25 (33) MHz 68040
with MMU/FPU. Compiles in support for 68040.
FPSP

View File

@ -1,4 +1,4 @@
/* $NetBSD: clock.c,v 1.35 2005/12/24 22:45:35 perry Exp $ */
/* $NetBSD: clock.c,v 1.36 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@ -78,14 +78,14 @@
/*
* HPs use the MC6840 PTM with the following arrangement:
* Timers 1 and 3 are externally driver from a 25Mhz source.
* Timers 1 and 3 are externally driver from a 25 MHz source.
* Output from timer 3 is tied to the input of timer 2.
* The latter makes it possible to use timers 3 and 2 together to get
* a 32-bit countdown timer.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.35 2005/12/24 22:45:35 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.36 2006/03/08 23:46:23 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: clockreg.h,v 1.9 2005/12/11 12:17:18 christos Exp $ */
/* $NetBSD: clockreg.h,v 1.10 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@ -124,8 +124,8 @@ struct clkreg {
#define CLK_INT3 0x04 /* interrupt flag for timer 3 (SR only) */
#define CLK_INTR 0x80 /* composite interrupt flag (SR only) */
#define CLK_RESOLUTION 4 /* 4 usec resolution (250Khz) */
#define CLK_INTERVAL 2500 /* 10msec interval at 250KHz */
#define CLK_RESOLUTION 4 /* 4 usec resolution (250 kHz) */
#define CLK_INTERVAL 2500 /* 10msec interval at 250 kHz */
#ifdef NOTDEF
#define CLK_INTERVAL 5000 /* 20msec interval at 250Khz */
#define CLK_INTERVAL 5000 /* 20msec interval at 250 kHz */
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: hd64461videoreg.h,v 1.2 2005/12/18 21:47:10 uwe Exp $ */
/* $NetBSD: hd64461videoreg.h,v 1.3 2006/03/08 23:46:23 lukem Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -105,10 +105,10 @@
* select CL2 frequency
* 0x0 15 MHz (color) 15/2 (monochrome)
* 0x1 2.5 MHz
* 0x2 3.75 Mhz
* 0x4 5 Mhz
* 0x8 7.5 Mhz
* 0x10 10 Mhz
* 0x2 3.75 MHz
* 0x4 5 MHz
* 0x8 7.5 MHz
* 0x10 10 MHz
*/
#define HD64461_LCDLDR3_CG_COLOR16 0x8
#define HD64461_LCDLDR3_CG_COLOR8 0x4

View File

@ -1,4 +1,4 @@
/* $NetBSD: est.c,v 1.21 2006/03/07 18:20:54 rpaulo Exp $ */
/* $NetBSD: est.c,v 1.22 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 2003 Michael Eriksson.
* All rights reserved.
@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: est.c,v 1.21 2006/03/07 18:20:54 rpaulo Exp $");
__KERNEL_RCSID(0, "$NetBSD: est.c,v 1.22 2006/03/08 23:46:23 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -268,7 +268,7 @@ static const struct fq_info pentium_m_n778[] = {
{ 600, 988 }
};
/* Intel Pentium M processor 710 1.4 Ghz */
/* Intel Pentium M processor 710 1.4 GHz */
static const struct fq_info pentium_m_n710[] = {
{ 1400, 1340 },
{ 1200, 1228 },
@ -352,7 +352,7 @@ static const struct fq_info pentium_m_n755[] = {
{ 600, 988 }
};
/* Intel Pentium M processor 760 2.0Ghz */
/* Intel Pentium M processor 760 2.0 GHz */
static const struct fq_info pentium_m_n760[] = {
{ 2000, 1356 },
{ 1600, 1244 },
@ -394,7 +394,7 @@ struct fqlist {
struct cpufsbmult {
const int cpu_id;
const int multiplier; /* FSB multiplier, in 133mhz increments */
const int multiplier; /* FSB multiplier, in 133 MHz increments */
};
#define ENTRY(s, i, v) { s, i, sizeof(v) / sizeof((v)[0]), v }
@ -434,7 +434,7 @@ static const struct fqlist pentium_m_dothan[] = {
#undef ENTRY
static const struct cpufsbmult cpuidtofsb[] = {
{ 0, 3 }, /* default to 400Mhz FSB */
{ 0, 3 }, /* default to 400 MHz FSB */
{ 0x0695, 3 },
{ 0x06d6, 3 },
{ 0x06d8, 4 }
@ -468,7 +468,7 @@ static const struct est_cpu est_cpus[] = {
#define MSR2MHZ(msr) ((((int) (msr) >> 8) & 0xff) * 100 * fsbmult / 3)
#define MV2MSR(mv) ((((int) (mv) - 700) >> 4) & 0xff)
#define MHZ2MSR(mhz) (((3 * (mhz + 30) / (100 * fsbmult)) & 0xff) << 8)
/* XXX 30 is slop to deal with the 33.333mhz roundoff values */
/* XXX 30 is slop to deal with the 33.333 MHz roundoff values */
static const struct fqlist *est_fqlist; /* not NULL if functional */
static int est_node_target, est_node_current;
@ -589,7 +589,7 @@ est_init(struct cpu_info *ci)
/*
* OK, tell the user the available frequencies.
*/
aprint_normal("%d Mhz\n", est_fqlist->table[i].mhz);
aprint_normal("%d MHz\n", est_fqlist->table[i].mhz);
freq_len = est_fqlist->tablec * (sizeof("9999 ")-1) + 1;
freq_names = malloc(freq_len, M_SYSCTLDATA, M_WAITOK);

View File

@ -1,4 +1,4 @@
/* $NetBSD: powernow_k7.c,v 1.8 2006/02/04 22:08:01 xtraeme Exp $ */
/* $NetBSD: powernow_k7.c,v 1.9 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 2004 Martin Végiard.
@ -32,7 +32,7 @@
/* Sysctl related code was adapted from NetBSD's i386/est.c for compatibility */
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: powernow_k7.c,v 1.8 2006/02/04 22:08:01 xtraeme Exp $");
__KERNEL_RCSID(0, "$NetBSD: powernow_k7.c,v 1.9 2006/03/08 23:46:23 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -65,7 +65,7 @@ struct psb_s {
struct pst_s {
cpuid_t cpuid;
uint8_t fsb; /* Front Side Bus frequency (Mhz) */
uint8_t fsb; /* Front Side Bus frequency (MHz) */
uint8_t fid; /* Max Frequency code */
uint8_t vid; /* Max Voltage code */
uint8_t n_states; /* Number of states */
@ -404,9 +404,9 @@ pnowk7_init(struct cpu_info *ci)
aprint_normal("\n");
aprint_normal("%s: AMD PowerNow! Technology\n", cpuname);
aprint_normal("%s: available frequencies (Mhz): %s\n",
aprint_normal("%s: available frequencies (MHz): %s\n",
cpuname, freq_names);
aprint_normal("%s: current frequency (Mhz): %d\n", cpuname, cur_freq);
aprint_normal("%s: current frequency (MHz): %d\n", cpuname, cur_freq);
return;

View File

@ -1,4 +1,4 @@
/* $NetBSD: esp.c,v 1.43 2005/12/24 23:24:01 perry Exp $ */
/* $NetBSD: esp.c,v 1.44 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 1997 Jason R. Thorpe.
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: esp.c,v 1.43 2005/12/24 23:24:01 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: esp.c,v 1.44 2006/03/08 23:46:23 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -269,7 +269,7 @@ espattach(struct device *parent, struct device *self, void *aux)
sc->sc_id = 7;
/* gimme Mhz */
/* gimme MHz */
sc->sc_freq /= 1000000;
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: esp.c,v 1.19 2005/12/11 12:18:03 christos Exp $ */
/* $NetBSD: esp.c,v 1.20 2006/03/08 23:46:23 lukem Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: esp.c,v 1.19 2005/12/11 12:18:03 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: esp.c,v 1.20 2006/03/08 23:46:23 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -207,7 +207,7 @@ espattach(parent, self, aux)
if (sz != sizeof(int))
sc->sc_freq = 25000000;
/* gimme Mhz */
/* gimme MHz */
sc->sc_freq /= 1000000;
/* esc->sc_dma->sc_esp = esc;*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: mips_mcclock.c,v 1.14 2006/02/25 02:28:56 wiz Exp $ */
/* $NetBSD: mips_mcclock.c,v 1.15 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author)
@ -34,7 +34,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: mips_mcclock.c,v 1.14 2006/02/25 02:28:56 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: mips_mcclock.c,v 1.15 2006/03/08 23:46:23 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -197,8 +197,8 @@ mips_mcclock_to_mhz(unsigned iters)
*
* r3000-core DECstations values fit to:
* iters per 4ms tick = 425 * MHz)
* instructions per mhz = kHz * 575
* with about 2 Mhz slop to allow for variation.
* instructions per MHz = kHz * 575
* with about 2 MHz slop to allow for variation.
*/
#ifdef MIPS3_PLUS

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbic.c,v 1.27 2005/12/11 12:18:17 christos Exp $ */
/* $NetBSD: sbic.c,v 1.28 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.27 2005/12/11 12:18:17 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.28 2006/03/08 23:46:23 lukem Exp $");
#include "opt_ddb.h"
@ -2606,7 +2606,7 @@ sbictoscsiperiod(dev, a)
/*
* cycle = DIV / (2 * CLK)
* DIV = FS + 2
* best we can do is 200ns at 20Mhz, 2 cycles
* best we can do is 200ns at 20 MHz, 2 cycles
*/
GET_SBIC_myid(dev->sc_sbicp, fs);

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbicreg.h,v 1.3 2005/12/11 12:18:17 christos Exp $ */
/* $NetBSD: sbicreg.h,v 1.4 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -101,10 +101,10 @@
* My ID register, and/or CDB Size
*/
#define SBIC_ID_FS_8_10 0x00 /* Input clock is 8-10 Mhz */
/* 11 Mhz is invalid */
#define SBIC_ID_FS_12_15 0x40 /* Input clock is 12-15 Mhz */
#define SBIC_ID_FS_16_20 0x80 /* Input clock is 16-20 Mhz */
#define SBIC_ID_FS_8_10 0x00 /* Input clock is 8-10 MHz */
/* 11 MHz is invalid */
#define SBIC_ID_FS_12_15 0x40 /* Input clock is 12-15 MHz */
#define SBIC_ID_FS_16_20 0x80 /* Input clock is 16-20 MHz */
#define SBIC_ID_EHP 0x10 /* Enable host parity */
#define SBIC_ID_EAF 0x08 /* Enable Advanced Features */
#define SBIC_ID_MASK 0x07
@ -126,7 +126,7 @@
/*
* Timeout period register
* [val in msecs, input clk in 0.1 Mhz]
* [val in msecs, input clk in 0.1 MHz]
*/
#define SBIC_TIMEOUT(val,clk) ((((val) * (clk)) / 800) + 1)

View File

@ -1,4 +1,4 @@
/* $NetBSD: esp.c,v 1.51 2005/12/11 12:18:25 christos Exp $ */
/* $NetBSD: esp.c,v 1.52 2006/03/08 23:46:23 lukem Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: esp.c,v 1.51 2005/12/11 12:18:25 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: esp.c,v 1.52 2006/03/08 23:46:23 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -307,7 +307,7 @@ espattach_intio(struct device *parent, struct device *self, void *aux)
}
sc->sc_id = 7;
sc->sc_freq = 20; /* Mhz */
sc->sc_freq = 20; /* MHz */
/*
* Set up glue for MI code early; we use some of it here.

View File

@ -1,4 +1,4 @@
/* $NetBSD: nextdma.c,v 1.40 2005/12/24 20:07:24 perry Exp $ */
/* $NetBSD: nextdma.c,v 1.41 2006/03/08 23:46:23 lukem Exp $ */
/*
* Copyright (c) 1998 Darrin B. Jewell
* All rights reserved.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: nextdma.c,v 1.40 2005/12/24 20:07:24 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: nextdma.c,v 1.41 2006/03/08 23:46:23 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -230,8 +230,8 @@ nextdma_init(struct nextdma_softc *nsc)
state = nd_bsr4 (DD_CSR);
#if 1
/* mourning (a 25Mhz 68040 mono slab) appears to set BUSEXC
* milo (a 25Mhz 68040 mono cube) didn't have this problem
/* mourning (a 25 MHz 68040 mono slab) appears to set BUSEXC
* milo (a 25 MHz 68040 mono cube) didn't have this problem
* Darrin B. Jewell <jewell@mit.edu> Mon May 25 07:53:05 1998
*/
state &= (DMACSR_COMPLETE | DMACSR_SUPDATE | DMACSR_ENABLE);

View File

@ -1,4 +1,4 @@
/* $NetBSD: timerreg.h,v 1.4 2005/12/11 12:18:36 christos Exp $ */
/* $NetBSD: timerreg.h,v 1.5 2006/03/08 23:46:24 lukem Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -84,7 +84,7 @@
#define T_MODE_CLKS(x) ((x) & T_MODE_CLKS_MASK)
#define T_MODE_CLKS_CLR(x) ((x) & ~T_MODE_CLKS_MASK)
#define T_MODE_CLKS_BUSCLK1 0 /* 150Mhz */
#define T_MODE_CLKS_BUSCLK1 0 /* 150 MHz */
#define T_MODE_CLKS_BUSCLK16 1 /* 150 / 16 */
#define T_MODE_CLKS_BUSCLK256 2 /* 150 / 256 */
#define T_MODE_CLKS_HBLNK 3 /* H-Blank */

View File

@ -1,4 +1,4 @@
/* $NetBSD: clock.c,v 1.3 2005/12/11 12:18:36 christos Exp $ */
/* $NetBSD: clock.c,v 1.4 2006/03/08 23:46:24 lukem Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.3 2005/12/11 12:18:36 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.4 2006/03/08 23:46:24 lukem Exp $");
#include "debug_playstation2.h"
@ -141,7 +141,7 @@ microtime(struct timeval *tvp)
/*
* Wait at least `n' usec. (max 15 sec)
* PS2 R5900 CPU clock is 294.912Mhz = (1 << 15) * 9 * 1000
* PS2 R5900 CPU clock is 294.912 MHz = (1 << 15) * 9 * 1000
*/
void
delay(unsigned usec)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ims332.c,v 1.19 2005/12/24 20:07:25 perry Exp $ */
/* $NetBSD: ims332.c,v 1.20 2006/03/08 23:46:24 lukem Exp $ */
/*-
* Copyright (c) 1992, 1993, 1995
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: ims332.c,v 1.19 2005/12/24 20:07:25 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: ims332.c,v 1.20 2006/03/08 23:46:24 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -77,8 +77,8 @@ ims332init(fi)
DELAY(1); /* specs sez 50ns.. */
deassert_ims332_reset_bit(reset);
/* CLOCKIN appears to receive a 6.25 Mhz clock --> PLL 12 for
75Mhz monitor */
/* CLOCKIN appears to receive a 6.25 MHz clock --> PLL 12 for
75 MHz monitor */
ims332_write_register (fi, IMS332_REG_BOOT,
12 | IMS332_BOOT_CLOCK_PLL);

View File

@ -1,4 +1,4 @@
/* $NetBSD: asc_ioasic.c,v 1.15 2003/04/02 04:20:32 thorpej Exp $ */
/* $NetBSD: asc_ioasic.c,v 1.16 2006/03/08 23:46:24 lukem Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: asc_ioasic.c,v 1.15 2003/04/02 04:20:32 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: asc_ioasic.c,v 1.16 2006/03/08 23:46:24 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -153,7 +153,7 @@ asc_ioasic_attach(parent, self, aux)
sc->sc_id = 7;
sc->sc_freq = 25000000;
/* gimme Mhz */
/* gimme MHz */
sc->sc_freq /= 1000000;
ioasic_intr_establish(parent, d->iada_cookie, TC_IPL_BIO,

View File

@ -1,4 +1,4 @@
/* $NetBSD: scc.c,v 1.89 2005/12/14 02:55:42 oster Exp $ */
/* $NetBSD: scc.c,v 1.90 2006/03/08 23:46:24 lukem Exp $ */
/*
* Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University
@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: scc.c,v 1.89 2005/12/14 02:55:42 oster Exp $");
__KERNEL_RCSID(0, "$NetBSD: scc.c,v 1.90 2006/03/08 23:46:24 lukem Exp $");
/*
* Intel 82530 dual usart chip driver. Supports the serial port(s) on the
@ -159,7 +159,7 @@ struct scc_softc {
* BRGconstant = --------------------------- - 2
* 2 * BaudRate * ClockDivider
*
* Speed selections with Pclk=7.3728Mhz, clock x16
* Speed selections with Pclk=7.3728 MHz, clock x16
*/
const struct speedtab sccspeedtab[] = {
{ 0, 0, },

View File

@ -1,4 +1,4 @@
/* $NetBSD: clock.c,v 1.14 2005/12/24 22:45:36 perry Exp $ */
/* $NetBSD: clock.c,v 1.15 2006/03/08 23:46:24 lukem Exp $ */
/* $OpenBSD: clock.c,v 1.3 1997/10/13 13:42:53 pefo Exp $ */
/*
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.14 2005/12/24 22:45:36 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.15 2006/03/08 23:46:24 lukem Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -58,7 +58,7 @@ void decr_intr(struct clockframe *); /* called from trap_subr.S */
void stat_intr(struct clockframe *); /* called from trap_subr.S */
#ifdef FAST_STAT_CLOCK
/* Stat clock runs at ~ 1.5KHz */
/* Stat clock runs at ~ 1.5 kHz */
#define PERIOD_POWER 17
#define TCR_PERIOD TCR_FP_2_17
#else

View File

@ -1,4 +1,4 @@
/* $NetBSD: picreg.h,v 1.4 2005/12/11 12:18:52 christos Exp $ */
/* $NetBSD: picreg.h,v 1.5 2006/03/08 23:46:24 lukem Exp $ */
/*
* Copyright (c) 2002 Steve Rumble
@ -38,7 +38,7 @@
#define PIC_CPUCTRL_IBREFILL 0x0008 /* instruction block refill */
#define PIC_CPUCTRL_GDMAINTR 0x0010 /* gfx intr on completion */
#define PIC_CPUCTRL_GDMASYNC 0x0020 /* gfx dma sync */
#define PIC_CPUCTRL_FREFRESH 0x0040 /* fast refresh on 33mhz+ gio */
#define PIC_CPUCTRL_FREFRESH 0x0040 /* fast refresh on 33 MHz+ gio */
#define PIC_CPUCTRL_NOVMEERR 0x0080 /* disables vme bus errors */
#define PIC_CPUCTRL_FREFRESHB 0x0080 /* fast refresh on revs. a+b */
#define PIC_CPUCTRL_GR2 0x0100 /* gio gr2 mode (?) */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbic.c,v 1.19 2005/12/11 12:18:53 christos Exp $ */
/* $NetBSD: sbic.c,v 1.20 2006/03/08 23:46:24 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.19 2005/12/11 12:18:53 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.20 2006/03/08 23:46:24 lukem Exp $");
#include "opt_ddb.h"
@ -2176,7 +2176,7 @@ wd33c93_update_xfer_mode(struct wd33c93_softc *sc, int target)
*
* cycle = DIV / (2 * CLK)
* DIV = FS + 2
* best we can do is 200ns at 20Mhz, 2 cycles
* best we can do is 200ns at 20 MHz, 2 cycles
*/
int
wd33c93_div2stp(struct wd33c93_softc *dev, int div)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbicreg.h,v 1.6 2005/12/11 12:18:53 christos Exp $ */
/* $NetBSD: sbicreg.h,v 1.7 2006/03/08 23:46:24 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -141,10 +141,10 @@
* My ID register, and/or CDB Size
*/
#define SBIC_ID_FS_8_10 0x00 /* Input clock is 8-10 Mhz */
/* 11 Mhz is invalid */
#define SBIC_ID_FS_12_15 0x40 /* Input clock is 12-15 Mhz */
#define SBIC_ID_FS_16_20 0x80 /* Input clock is 16-20 Mhz */
#define SBIC_ID_FS_8_10 0x00 /* Input clock is 8-10 MHz */
/* 11 MHz is invalid */
#define SBIC_ID_FS_12_15 0x40 /* Input clock is 12-15 MHz */
#define SBIC_ID_FS_16_20 0x80 /* Input clock is 16-20 MHz */
#define SBIC_ID_RAF 0x20 /* */
#define SBIC_ID_EHP 0x10 /* Enable host parity */
#define SBIC_ID_EAF 0x08 /* Enable Advanced Features */
@ -167,7 +167,7 @@
/*
* Timeout period register
* [val in msecs, input clk in 0.1 Mhz]
* [val in msecs, input clk in 0.1 MHz]
*/
#define SBIC_TIMEOUT(val,clk) ((((val) * (clk)) / 800) + 1)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbicvar.h,v 1.10 2005/12/11 12:18:53 christos Exp $ */
/* $NetBSD: sbicvar.h,v 1.11 2006/03/08 23:46:24 lukem Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -164,7 +164,7 @@ struct wd33c93_softc {
/* Static hardware attributes */
int sc_id; /* SCSI ID for controller */
int sc_clkfreq; /* wd33c93 clk freq * 10Mhz */
int sc_clkfreq; /* wd33c93 clk freq * 10 MHz */
int sc_chip; /* Chip variation */
int sc_rev; /* Chip revision */
int sc_cfflags; /* Copy of config flags */

View File

@ -1,4 +1,4 @@
/* $NetBSD: scr.c,v 1.17 2006/03/07 22:12:05 he Exp $ */
/* $NetBSD: scr.c,v 1.18 2006/03/08 23:46:24 lukem Exp $ */
/*
* Copyright 1997
@ -50,7 +50,7 @@
** ISO 7816-3 (the Smart Card spec)
**
** This driver puts a high load on the system due to the need
** to interrupt at a high rate (up to 50 Khz) during bit detection.
** to interrupt at a high rate (up to 50 kHz) during bit detection.
**
**
** The driver is dived into the standard top half ioctl, and bottom
@ -102,7 +102,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: scr.c,v 1.17 2006/03/07 22:12:05 he Exp $");
__KERNEL_RCSID(0, "$NetBSD: scr.c,v 1.18 2006/03/08 23:46:24 lukem Exp $");
#include "opt_ddb.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: esp_obio.c,v 1.17 2005/11/16 00:49:03 uwe Exp $ */
/* $NetBSD: esp_obio.c,v 1.18 2006/03/08 23:46:24 lukem Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: esp_obio.c,v 1.17 2005/11/16 00:49:03 uwe Exp $");
__KERNEL_RCSID(0, "$NetBSD: esp_obio.c,v 1.18 2006/03/08 23:46:24 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -168,7 +168,7 @@ espattach_obio(struct device *parent, struct device *self, void *aux)
*/
sc->sc_glue = &esp_obio_glue;
/* gimme Mhz */
/* gimme MHz */
sc->sc_freq /= 1000000;
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: psycho.c,v 1.78 2006/02/25 02:28:57 wiz Exp $ */
/* $NetBSD: psycho.c,v 1.79 2006/03/08 23:46:24 lukem Exp $ */
/*
* Copyright (c) 2001, 2002 Eduardo E. Horvath
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: psycho.c,v 1.78 2006/02/25 02:28:57 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: psycho.c,v 1.79 2006/03/08 23:46:24 lukem Exp $");
#include "opt_ddb.h"
@ -150,8 +150,8 @@ CFATTACH_DECL(psycho, sizeof(struct psycho_softc),
* appears as two "simba"'s underneath the sabre.
*
* "psycho" and "psycho+" is a dual UPA to PCI bridge. It sits on the UPA bus
* and manages two PCI buses. "psycho" has two 64-bit 33MHz buses, while
* "psycho+" controls both a 64-bit 33Mhz and a 64-bit 66Mhz PCI bus. You
* and manages two PCI buses. "psycho" has two 64-bit 33 MHz buses, while
* "psycho+" controls both a 64-bit 33 MHz and a 64-bit 66 MHz PCI bus. You
* will usually find a "psycho+" since I don't think the original "psycho"
* ever shipped, and if it did it would be in the U30.
*

View File

@ -1,4 +1,4 @@
/* $NetBSD: esp.c,v 1.21 2005/12/11 12:19:20 christos Exp $ */
/* $NetBSD: esp.c,v 1.22 2006/03/08 23:46:24 lukem Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: esp.c,v 1.21 2005/12/11 12:19:20 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: esp.c,v 1.22 2006/03/08 23:46:24 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -145,7 +145,7 @@ espattach(struct device *parent, struct device *self, void *aux)
/* Other settings */
sc->sc_id = 7;
sc->sc_freq = 20; /* The 3/80 esp runs at 20 Mhz */
sc->sc_freq = 20; /* The 3/80 esp runs at 20 MHz */
/*
* Hook up the DMA driver.

View File

@ -1,4 +1,4 @@
/* $NetBSD: asc_vsbus.c,v 1.32 2005/12/11 12:19:37 christos Exp $ */
/* $NetBSD: asc_vsbus.c,v 1.33 2006/03/08 23:46:24 lukem Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: asc_vsbus.c,v 1.32 2005/12/11 12:19:37 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: asc_vsbus.c,v 1.33 2006/03/08 23:46:24 lukem Exp $");
#include "locators.h"
#include "opt_cputype.h"
@ -253,7 +253,7 @@ asc_vsbus_attach(struct device *parent, struct device *self, void *aux)
sc->sc_id = (clk_page[0xbc/2] >> clk_tweak) & 7;
sc->sc_freq = ASC_FREQUENCY;
/* gimme Mhz */
/* gimme MHz */
sc->sc_freq /= 1000000;
scb_vecalloc(va->va_cvec, (void (*)(void *)) ncr53c9x_intr,

View File

@ -1,4 +1,4 @@
/* $NetBSD: mha.c,v 1.40 2006/02/23 05:37:48 thorpej Exp $ */
/* $NetBSD: mha.c,v 1.41 2006/03/08 23:46:24 lukem Exp $ */
/*-
* Copyright (c) 1996-1999 The NetBSD Foundation, Inc.
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mha.c,v 1.40 2006/02/23 05:37:48 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: mha.c,v 1.41 2006/03/08 23:46:24 lukem Exp $");
#include "opt_ddb.h"
@ -405,7 +405,7 @@ mha_reset(struct mha_softc *sc)
u_short dummy;
printf("reset...");
CMR = CMD_SOFT_RESET;
__asm volatile ("nop"); /* XXX wait (4clk in 20mhz) ??? */
__asm volatile ("nop"); /* XXX wait (4clk in 20 MHz) ??? */
dummy = sc->sc_ps[-1];
dummy = sc->sc_ps[-1];
dummy = sc->sc_ps[-1];

View File

@ -33,7 +33,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGES.
*
* $Id: athhal.h,v 1.4 2006/03/02 03:38:45 dyoung Exp $
* $Id: athhal.h,v 1.5 2006/03/08 23:46:24 lukem Exp $
*/
#ifndef _ATH_AH_H_
@ -307,7 +307,7 @@ typedef enum {
* Channels are specified by frequency.
*/
typedef struct {
u_int16_t channel; /* setting in Mhz */
u_int16_t channel; /* setting in MHz */
u_int16_t channelFlags; /* see below */
u_int8_t privFlags;
int8_t maxRegTxPower; /* max regulatory tx power in dBm */
@ -515,7 +515,7 @@ struct ath_hal {
u_int32_t ah_macVersion; /* MAC version id */
u_int16_t ah_macRev; /* MAC revision */
u_int16_t ah_phyRev; /* PHY revision */
/* NB: when only one radio is present the rev is in 5Ghz */
/* NB: when only one radio is present the rev is in 5 GHz */
u_int16_t ah_analog5GhzRev;/* 5GHz radio revision */
u_int16_t ah_analog2GhzRev;/* 2GHz radio revision */
u_int8_t ah_decompMask[HAL_DECOMP_MASK_SIZE]; /* decomp mask array */

View File

@ -1,4 +1,4 @@
/* $NetBSD: aic79xx.c,v 1.33 2005/12/24 20:27:29 perry Exp $ */
/* $NetBSD: aic79xx.c,v 1.34 2006/03/08 23:46:24 lukem Exp $ */
/*
* Core routines and tables shareable across OS platforms.
@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.33 2005/12/24 20:27:29 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.34 2006/03/08 23:46:24 lukem Exp $");
#include <dev/ic/aic79xx_osm.h>
#include <dev/ic/aic79xx_inline.h>
@ -3207,7 +3207,7 @@ ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
/*
* Harpoon2A assumed that there would be a
* fallback rate between 160MHz and 80Mhz,
* fallback rate between 160 MHz and 80 MHz,
* so 7 is used as the period factor rather
* than 8 for 160MHz.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: ath.c,v 1.68 2006/03/02 03:38:45 dyoung Exp $ */
/* $NetBSD: ath.c,v 1.69 2006/03/08 23:46:24 lukem Exp $ */
/*-
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@ -41,7 +41,7 @@
__FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.104 2005/09/16 10:09:23 ru Exp $");
#endif
#ifdef __NetBSD__
__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.68 2006/03/02 03:38:45 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.69 2006/03/08 23:46:24 lukem Exp $");
#endif
/*
@ -4315,7 +4315,7 @@ ath_chan_set(struct ath_softc *sc, struct ieee80211_channel *chan)
ath_stoprecv(sc); /* turn off frame recv */
if (!ath_hal_reset(ah, ic->ic_opmode, &hchan, AH_TRUE, &status)) {
if_printf(ic->ic_ifp, "%s: unable to reset "
"channel %u (%u Mhz, flags 0x%x hal flags 0x%x)\n",
"channel %u (%u MHz, flags 0x%x hal flags 0x%x)\n",
__func__, ieee80211_chan2ieee(ic, chan),
chan->ic_freq, chan->ic_flags, hchan.channelFlags);
return EIO;
@ -5191,13 +5191,13 @@ ath_announce(struct ath_softc *sc)
/*
* Print radio revision(s). We check the wireless modes
* to avoid falsely printing revs for inoperable parts.
* Dual-band radio revs are returned in the 5Ghz rev number.
* Dual-band radio revs are returned in the 5 GHz rev number.
*/
ath_hal_getcountrycode(ah, &cc);
modes = ath_hal_getwirelessmodes(ah, cc);
if ((modes & HAL_MODE_DUALBAND) == HAL_MODE_DUALBAND) {
if (ah->ah_analog5GhzRev && ah->ah_analog2GhzRev)
printf(" 5ghz radio %d.%d 2ghz radio %d.%d",
printf(" 5 GHz radio %d.%d 2 GHz radio %d.%d",
ah->ah_analog5GhzRev >> 4,
ah->ah_analog5GhzRev & 0xf,
ah->ah_analog2GhzRev >> 4,

View File

@ -1,4 +1,4 @@
/* $NetBSD: atw.c,v 1.112 2006/03/08 08:26:50 dyoung Exp $ */
/* $NetBSD: atw.c,v 1.113 2006/03/08 23:46:24 lukem Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2002, 2003, 2004 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.112 2006/03/08 08:26:50 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.113 2006/03/08 23:46:24 lukem Exp $");
#include "bpfilter.h"
@ -1147,12 +1147,12 @@ atw_cfp_init(struct atw_softc *sc)
static void
atw_tofs0_init(struct atw_softc *sc)
{
/* XXX I guess that the Cardbus clock is 22MHz?
/* XXX I guess that the Cardbus clock is 22 MHz?
* I am assuming that the role of ATW_TOFS0_USCNT is
* to divide the bus clock to get a 1MHz clock---the datasheet is not
* to divide the bus clock to get a 1 MHz clock---the datasheet is not
* very clear on this point. It says in the datasheet that it is
* possible for the ADM8211 to accomodate bus speeds between 22MHz
* and 33MHz; maybe this is the way? I see a binary-only driver write
* possible for the ADM8211 to accomodate bus speeds between 22 MHz
* and 33 MHz; maybe this is the way? I see a binary-only driver write
* these values. These values are also the power-on default.
*/
ATW_WRITE(sc, ATW_TOFS0,
@ -1169,7 +1169,7 @@ atw_ifs_init(struct atw_softc *sc)
* Go figure.
*/
ifst = SHIFTIN(IEEE80211_DUR_DS_SLOT, ATW_IFST_SLOT_MASK) |
SHIFTIN(22 * 5 /* IEEE80211_DUR_DS_SIFS */ /* # of 22MHz cycles */,
SHIFTIN(22 * 5 /* IEEE80211_DUR_DS_SIFS */ /* # of 22 MHz cycles */,
ATW_IFST_SIFS_MASK) |
SHIFTIN(IEEE80211_DUR_DS_DIFS, ATW_IFST_DIFS_MASK) |
SHIFTIN(0x64 /* IEEE80211_DUR_DS_EIFS */, ATW_IFST_EIFS_MASK);
@ -1550,15 +1550,15 @@ atw_si4126_print(struct atw_softc *sc)
* The RF/IF synthesizer produces two reference frequencies for
* the RF2948B transceiver. The first frequency the RF2948B requires
* is two times the so-called "intermediate frequency" (IF). Since
* a SAW filter on the radio fixes the IF at 374MHz, I program the
* Si4126 to generate IF LO = 374MHz x 2 = 748MHz. The second
* a SAW filter on the radio fixes the IF at 374 MHz, I program the
* Si4126 to generate IF LO = 374 MHz x 2 = 748 MHz. The second
* frequency required by the transceiver is the radio frequency
* (RF). This is a superheterodyne transceiver; for f(chan) the
* center frequency of the channel we are tuning, RF = f(chan) -
* IF.
*
* XXX I am told by SiLabs that the Si4126 will accept a broader range
* of XIN than the 2-25MHz mentioned by the datasheet, even *without*
* of XIN than the 2-25 MHz mentioned by the datasheet, even *without*
* XINDIV2 = 1. I've tried this (it is necessary to double R) and it
* works, but I have still programmed for XINDIV2 = 1 to be safe.
*/
@ -1579,12 +1579,12 @@ atw_si4126_tune(struct atw_softc *sc, u_int chan)
else
mhz = 2412 + 5 * (chan - 1);
/* Tune IF to 748MHz to suit the IF LO input of the
/* Tune IF to 748 MHz to suit the IF LO input of the
* RF2494B, which is 2 x IF. No need to set an IF divider
* because an IF in 526MHz - 952MHz is allowed.
* because an IF in 526 MHz - 952 MHz is allowed.
*
* XIN is 44.000MHz, so divide it by two to get allowable
* range of 2-25MHz. SiLabs tells me that this is not
* XIN is 44.000 MHz, so divide it by two to get allowable
* range of 2-25 MHz. SiLabs tells me that this is not
* strictly necessary.
*/
@ -1611,13 +1611,13 @@ atw_si4126_tune(struct atw_softc *sc, u_int chan)
atw_si4126_write(sc, SI4126_GAIN, gain);
/* XIN = 44MHz.
/* XIN = 44 MHz.
*
* If XINDIV2 = 1, IF = N/(2 * R) * XIN. I choose N = 1496,
* R = 44 so that 1496/(2 * 44) * 44MHz = 748MHz.
* R = 44 so that 1496/(2 * 44) * 44 MHz = 748 MHz.
*
* If XINDIV2 = 0, IF = N/R * XIN. I choose N = 1496, R = 88
* so that 1496/88 * 44MHz = 748MHz.
* so that 1496/88 * 44 MHz = 748 MHz.
*/
atw_si4126_write(sc, SI4126_IFN, 1496);
@ -1633,8 +1633,8 @@ atw_si4126_tune(struct atw_softc *sc, u_int chan)
atw_si4126_write(sc, SI4126_RF1N, mhz - 374);
#endif
/* N/R * XIN = RF. XIN = 44MHz. We desire RF = mhz - IF,
* where IF = 374MHz. Let's divide XIN to 1MHz. So R = 44.
/* N/R * XIN = RF. XIN = 44 MHz. We desire RF = mhz - IF,
* where IF = 374 MHz. Let's divide XIN to 1 MHz. So R = 44.
* Now let's multiply it to mhz. So mhz - IF = N.
*/
atw_si4126_write(sc, SI4126_RF2R, R);

View File

@ -1,4 +1,4 @@
/* $NetBSD: interwave.c,v 1.27 2005/12/11 12:21:27 christos Exp $ */
/* $NetBSD: interwave.c,v 1.28 2006/03/08 23:46:24 lukem Exp $ */
/*
* Copyright (c) 1997, 1999 The NetBSD Foundation, Inc.
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: interwave.c,v 1.27 2005/12/11 12:21:27 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: interwave.c,v 1.28 2006/03/08 23:46:24 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -517,7 +517,7 @@ iw_set_speed(struct iw_softc *sc, u_long freq, char in)
cfig3 = 0; /* XXX gcc -Wall */
/*
* if the frequency is between 3493Hz and 32KHz we can use a more
* if the frequency is between 3493 Hz and 32 kHz we can use a more
* accurate frequency than the ones listed above base on the formula
* FREQ/((16*(48+x))) where FREQ is either FREQ_1 (24576000Hz) or
* FREQ_2 (16934400Hz) and x is the value to be written to either
@ -526,8 +526,8 @@ iw_set_speed(struct iw_softc *sc, u_long freq, char in)
*
* NOT IMPLEMENTED!
*
* Note that if you have a 'bad' XTAL_1 (higher than 18.5 MHz), 44.8KHz
* and 38.4KHz modes will provide wrong frequencies to output.
* Note that if you have a 'bad' XTAL_1 (higher than 18.5 MHz), 44.8 kHz
* and 38.4 kHz modes will provide wrong frequencies to output.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: mc146818reg.h,v 1.8 2005/12/11 12:21:27 christos Exp $ */
/* $NetBSD: mc146818reg.h,v 1.9 2006/03/08 23:46:25 lukem Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@ -141,9 +141,9 @@
/*
* Time base (divisor select) constants (Control register A)
*/
#define MC_BASE_4_MHz 0x00 /* 4MHz crystal */
#define MC_BASE_1_MHz 0x10 /* 1MHz crystal */
#define MC_BASE_32_KHz 0x20 /* 32KHz crystal */
#define MC_BASE_4_MHz 0x00 /* 4 MHz crystal */
#define MC_BASE_1_MHz 0x10 /* 1 MHz crystal */
#define MC_BASE_32_KHz 0x20 /* 32 kHz crystal */
#define MC_BASE_NONE 0x60 /* actually, both of these reset */
#define MC_BASE_RESET 0x70

View File

@ -1,4 +1,4 @@
/* $NetBSD: pasreg.h,v 1.4 2005/12/11 12:22:03 christos Exp $ */
/* $NetBSD: pasreg.h,v 1.5 2006/03/08 23:46:25 lukem Exp $ */
/* Port addresses and bit fields for the Media Vision Pro AudioSpectrum
* second generation sound cards.
@ -50,8 +50,8 @@
#define SYSTEM_CONFIGURATION_1 0x8388 /* R W Control */
#define S_C_1_PCS_ENABLE 0x01 /* R W PC speaker 1=enable, 0=disable PC speaker emulation */
#define S_C_1_PCM_CLOCK_SELECT 0x02 /* R W PCM 1=14.31818Mhz/12, 0=28.224Mhz master clock */
#define S_C_1_FM_EMULATE_CLOCK 0x04 /* R W FM 1=use 28.224Mhz/2, 0=use 14.31818Mhz clock */
#define S_C_1_PCM_CLOCK_SELECT 0x02 /* R W PCM 1=14.31818 MHz/12, 0=28.224 MHz master clock */
#define S_C_1_FM_EMULATE_CLOCK 0x04 /* R W FM 1=use 28.224 MHz/2, 0=use 14.31818 MHz clock */
#define S_C_1_PCS_STEREO 0x10 /* R W PC speaker 1=enable PC speaker stereo effect, 0=disable */
#define S_C_1_PCS_REALSOUND 0x20 /* R W PC speaker 1=enable RealSound enhancement, 0=disable */
#define S_C_1_FORCE_EXT_RESET 0x40 /* R W Control Force external reset */
@ -60,7 +60,7 @@
#define S_C_2_PCM_OVERSAMPLING 0x03 /* R W PCM 00=0x, 01=2x, 10=4x, 11=reserved */
#define S_C_2_PCM_16_BIT 0x04 /* R W PCM 1=16-bit, 0=8-bit samples */
#define SYSTEM_CONFIGURATION_3 0x838A /* R W Control */
#define S_C_3_PCM_CLOCK_SELECT 0x02 /* R W PCM 1=use 1.008Mhz clock for PCM, 0=don't */
#define S_C_3_PCM_CLOCK_SELECT 0x02 /* R W PCM 1=use 1.008 MHz clock for PCM, 0=don't */
#define SYSTEM_CONFIGURATION_4 0x838B /* R W Control CD-ROM interface controls */
#define IO_CONFIGURATION_1 0xF388 /* R W Control */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbdsp.c,v 1.118 2005/12/11 12:22:03 christos Exp $ */
/* $NetBSD: sbdsp.c,v 1.119 2006/03/08 23:46:25 lukem Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -81,7 +81,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sbdsp.c,v 1.118 2005/12/11 12:22:03 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: sbdsp.c,v 1.119 2006/03/08 23:46:25 lukem Exp $");
#include "midi.h"
#include "mpu.h"
@ -150,12 +150,12 @@ struct {
*
* SBPRO SB20
* ----- --------
* input ls min 4 KHz 4 KHz
* input ls max 23 KHz 13 KHz
* input hs max 44.1 KHz 15 KHz
* output ls min 4 KHz 4 KHz
* output ls max 23 KHz 23 KHz
* output hs max 44.1 KHz 44.1 KHz
* input ls min 4 kHz 4 kHz
* input ls max 23 kHz 13 kHz
* input hs max 44.1 kHz 15 kHz
* output ls min 4 kHz 4 kHz
* output ls max 23 kHz 23 kHz
* output hs max 44.1 kHz 44.1 kHz
*/
/* XXX Should we round the tc?
#define SB_RATE_TO_TC(x) (((65536 - 256 * 1000000 / (x)) + 128) >> 8)

View File

@ -1,4 +1,4 @@
/* $NetBSD: gti2creg.h,v 1.3 2005/12/11 12:22:16 christos Exp $ */
/* $NetBSD: gti2creg.h,v 1.4 2006/03/08 23:46:25 lukem Exp $ */
/*
* Copyright (c) 2005 Brocade Communcations, inc.
@ -54,8 +54,8 @@
/*
* F(I2C) = F(Tclk) / ( 10 * (M + 1) * (2^(N+1)))
* For Tclk = 100MHz, M = 4, N = 4: F = 62.5KHz
* For Tclk = 100MHz, M = 13, N = 3: F = 96.2KHz
* For Tclk = 100 MHz, M = 4, N = 4: F = 62.5 kHz
* For Tclk = 100 MHz, M = 13, N = 3: F = 96.2 kHz
*/
#define I2C_BaudRate(M, N) (((M) << 3) | (N))
#define I2C_BaudRate_62_5K I2C_BaudRate(4, 4)

View File

@ -1,4 +1,4 @@
/* $NetBSD: esp_mca.c,v 1.10 2005/12/11 12:22:18 christos Exp $ */
/* $NetBSD: esp_mca.c,v 1.11 2006/03/08 23:46:27 lukem Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: esp_mca.c,v 1.10 2005/12/11 12:22:18 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: esp_mca.c,v 1.11 2006/03/08 23:46:27 lukem Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -225,7 +225,7 @@ esp_mca_attach(parent, self, aux)
/* MI code glue */
sc->sc_id = scsi_id;
sc->sc_freq = 25; /* Mhz */
sc->sc_freq = 25; /* MHz */
sc->sc_glue = &esp_glue;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ahd_pci.c,v 1.21 2005/12/24 20:27:42 perry Exp $ */
/* $NetBSD: ahd_pci.c,v 1.22 2006/03/08 23:46:27 lukem Exp $ */
/*
* Product specific probe and attach routines for:
@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ahd_pci.c,v 1.21 2005/12/24 20:27:42 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: ahd_pci.c,v 1.22 2006/03/08 23:46:27 lukem Exp $");
#define AHD_PCI_IOADDR PCI_MAPREG_START /* I/O Address */
#define AHD_PCI_MEMADDR (PCI_MAPREG_START + 4) /* Mem I/O Address */
@ -236,10 +236,10 @@ static const char *pci_bus_modes[] =
"PCI bus mode unknown",
"PCI bus mode unknown",
"PCI bus mode unknown",
"PCI-X 101-133Mhz",
"PCI-X 67-100Mhz",
"PCI-X 50-66Mhz",
"PCI 33 or 66Mhz"
"PCI-X 101-133 MHz",
"PCI-X 67-100 MHz",
"PCI-X 50-66 MHz",
"PCI 33 or 66 MHz"
};
#define TESTMODE 0x00000800ul

View File

@ -1,4 +1,4 @@
/* $NetBSD: autri.c,v 1.29 2006/02/22 02:57:26 garbled Exp $ */
/* $NetBSD: autri.c,v 1.30 2006/03/08 23:46:27 lukem Exp $ */
/*
* Copyright (c) 2001 SOMEYA Yoshihiko and KUROSAWA Takahiro.
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autri.c,v 1.29 2006/02/22 02:57:26 garbled Exp $");
__KERNEL_RCSID(0, "$NetBSD: autri.c,v 1.30 2006/03/08 23:46:27 lukem Exp $");
#include "midi.h"
@ -1368,7 +1368,7 @@ autri_trigger_input(void *addr, void *start, void *end, int blksize,
}
#if 0
/* 4DWAVE only allows capturing at a 48KHz rate */
/* 4DWAVE only allows capturing at a 48 kHz rate */
if (sc->sc_devid == AUTRI_DEVICE_ID_4DWAVE_DX ||
sc->sc_devid == AUTRI_DEVICE_ID_4DWAVE_NX)
param->sample_rate = 48000;

View File

@ -1,6 +1,6 @@
/* $SourceForge: bktr_audio.c,v 1.6 2003/03/11 23:11:20 thomasklausner Exp $ */
/* $NetBSD: bktr_audio.c,v 1.14 2005/12/06 23:29:05 wiz Exp $ */
/* $NetBSD: bktr_audio.c,v 1.15 2006/03/08 23:46:27 lukem Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_audio.c,v 1.8 2000/10/31 13:09:56 roger Exp$ */
/*
* This is part of the Driver for Video Capture Cards (Frame grabbers)
@ -71,7 +71,7 @@
#ifdef __NetBSD__
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bktr_audio.c,v 1.14 2005/12/06 23:29:05 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: bktr_audio.c,v 1.15 2006/03/08 23:46:27 lukem Exp $");
#include <sys/proc.h>
#include <dev/ic/bt8xx.h> /* NetBSD location of .h files */
@ -602,7 +602,7 @@ void msp_autodetect(bktr_ptr_t bktr) {
}
/* uncomment the following line to enable the MSP34xx 1KHz Tone Generator */
/* uncomment the following line to enable the MSP34xx 1 kHz Tone Generator */
/* turn your speaker volume down low before trying this */
/* msp_dpl_write(bktr, bktr->msp_addr, 0x12, 0x0014, 0x7f40); */
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: esm.c,v 1.32 2005/12/24 20:27:42 perry Exp $ */
/* $NetBSD: esm.c,v 1.33 2006/03/08 23:46:27 lukem Exp $ */
/*-
* Copyright (c) 2002, 2003 Matt Fredette
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: esm.c,v 1.32 2005/12/24 20:27:42 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: esm.c,v 1.33 2006/03/08 23:46:27 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -938,7 +938,7 @@ esm_trigger_input(void *sc, void *start, void *end, int blksize,
if (speed < 4000) speed = 4000;
dv = (((speed % 48000) << 16) + 24000) / 48000
+ ((speed / 48000) << 16);
mixdv = 65536; /* 48KHz */
mixdv = 65536; /* 48 kHz */
for (i = 0; i < nch; i++) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_vge.c,v 1.8 2005/12/24 20:27:42 perry Exp $ */
/* $NetBSD: if_vge.c,v 1.9 2006/03/08 23:46:27 lukem Exp $ */
/*-
* Copyright (c) 2004
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_vge.c,v 1.8 2005/12/24 20:27:42 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_vge.c,v 1.9 2006/03/08 23:46:27 lukem Exp $");
/*
* VIA Networking Technologies VT612x PCI gigabit ethernet NIC driver.
@ -46,7 +46,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_vge.c,v 1.8 2005/12/24 20:27:42 perry Exp $");
*/
/*
* The VIA Networking VT6122 is a 32bit, 33/66Mhz PCI device that
* The VIA Networking VT6122 is a 32bit, 33/66 MHz PCI device that
* combines a tri-speed ethernet MAC and PHY, with the following
* features:
*

View File

@ -1,4 +1,4 @@
/* $NetBSD: sv.c,v 1.31 2005/12/11 12:22:50 christos Exp $ */
/* $NetBSD: sv.c,v 1.32 2006/03/08 23:46:27 lukem Exp $ */
/* $OpenBSD: sv.c,v 1.2 1998/07/13 01:50:15 csapuntz Exp $ */
/*
@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sv.c,v 1.31 2005/12/11 12:22:50 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: sv.c,v 1.32 2006/03/08 23:46:27 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -691,7 +691,7 @@ sv_set_params(void *addr, int setmode, int usemode, audio_params_t *play,
val = p->sample_rate * 65536 / 48000;
/*
* If the sample rate is exactly 48KHz, the fraction would overflow the
* If the sample rate is exactly 48 kHz, the fraction would overflow the
* register, so we have to bias it. This causes a little clock drift.
* The drift is below normal crystal tolerance (.0001%), so although
* this seems a little silly, we can pretty much ignore it.

View File

@ -1,5 +1,5 @@
#! /usr/bin/awk -f
# $NetBSD: modelines2c.awk,v 1.1 2006/03/04 02:34:27 gdamore Exp $
# $NetBSD: modelines2c.awk,v 1.2 2006/03/08 23:46:27 lukem Exp $
#
# Copyright (c) 2006 Itronix Inc.
# All rights reserved.
@ -107,7 +107,7 @@ NR == 1 {
modestr = sprintf("%dx%dx%d%s", hdisplay, vdisplay, vrefresh, iflag);
# printf("/* %dx%d%s refresh %dHz, hsync %d KHz */\n",
# printf("/* %dx%d%s refresh %d Hz, hsync %d kHz */\n",
# hdisplay, vdisplay, iflag, vrefresh, hrefresh/1000);
printf("M(\"%s\",%d,%d,%d,%d,%d,%d,%d,%d,%d,%s),\n",
modestr,

View File

@ -1,4 +1,4 @@
/* $NetBSD: pf_norm.c,v 1.11 2006/01/25 10:45:20 peter Exp $ */
/* $NetBSD: pf_norm.c,v 1.12 2006/03/08 23:46:27 lukem Exp $ */
/* $OpenBSD: pf_norm.c,v 1.97 2004/09/21 16:59:12 aaron Exp $ */
/*
@ -1666,7 +1666,7 @@ pf_normalize_tcp_stateful(struct mbuf *m, int off, struct pf_pdesc *pd,
/* Calculate max ticks since the last timestamp */
#define TS_MAXFREQ 1100 /* RFC max TS freq of 1Khz + 10% skew */
#define TS_MAXFREQ 1100 /* RFC max TS freq of 1 kHz + 10% skew */
#define TS_MICROSECS 1000000 /* microseconds per second */
timersub(&uptime, &src->scrub->pfss_last, &delta_ts);
tsval_from_last = (delta_ts.tv_sec + ts_fudge) * TS_MAXFREQ;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_media.h,v 1.43 2005/12/10 23:21:38 elad Exp $ */
/* $NetBSD: if_media.h,v 1.44 2006/03/08 23:46:27 lukem Exp $ */
/*-
* Copyright (c) 1998, 2000, 2001 The NetBSD Foundation, Inc.
@ -231,10 +231,10 @@ u_quad_t ifmedia_baudrate(int);
#define IFM_IEEE80211_TURBO 0x00000800 /* Operate in Turbo mode */
/* operating mode for multi-mode devices */
#define IFM_IEEE80211_11A 0x00010000 /* 5Ghz, OFDM mode */
#define IFM_IEEE80211_11A 0x00010000 /* 5 GHz, OFDM mode */
#define IFM_IEEE80211_11B 0x00020000 /* Direct Sequence mode */
#define IFM_IEEE80211_11G 0x00030000 /* 2Ghz, CCK mode */
#define IFM_IEEE80211_FH 0x00040000 /* 2Ghz, GFSK mode */
#define IFM_IEEE80211_11G 0x00030000 /* 2 GHz, CCK mode */
#define IFM_IEEE80211_FH 0x00040000 /* 2 GHz, GFSK mode */
/*
* Shared media sub-types

View File

@ -103,7 +103,7 @@ enum ieee80211_roamingmode {
* Channels are specified by frequency and attributes.
*/
struct ieee80211_channel {
u_int16_t ic_freq; /* setting in Mhz */
u_int16_t ic_freq; /* setting in MHz */
u_int16_t ic_flags; /* see below */
};

View File

@ -1,4 +1,4 @@
/* $NetBSD: ieee80211.c,v 1.44 2006/03/02 03:38:48 dyoung Exp $ */
/* $NetBSD: ieee80211.c,v 1.45 2006/03/08 23:46:27 lukem Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@ -36,7 +36,7 @@
__FBSDID("$FreeBSD: src/sys/net80211/ieee80211.c,v 1.22 2005/08/10 16:22:29 sam Exp $");
#endif
#ifdef __NetBSD__
__KERNEL_RCSID(0, "$NetBSD: ieee80211.c,v 1.44 2006/03/02 03:38:48 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: ieee80211.c,v 1.45 2006/03/08 23:46:27 lukem Exp $");
#endif
/*
@ -280,7 +280,7 @@ ieee80211_mhz2ieee(u_int freq, u_int flags)
return (freq - 2407) / 5;
else
return 15 + ((freq - 2512) / 20);
} else if (flags & IEEE80211_CHAN_5GHZ) { /* 5Ghz band */
} else if (flags & IEEE80211_CHAN_5GHZ) { /* 5 GHz band */
return (freq - 5000) / 5;
} else { /* either, guess */
if (freq == 2484)
@ -326,7 +326,7 @@ ieee80211_ieee2mhz(u_int chan, u_int flags)
return 2407 + chan*5;
else
return 2512 + ((chan-15)*20);
} else if (flags & IEEE80211_CHAN_5GHZ) {/* 5Ghz band */
} else if (flags & IEEE80211_CHAN_5GHZ) {/* 5 GHz band */
return 5000 + (chan*5);
} else { /* either, guess */
if (chan == 14)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ieee80211_node.c,v 1.52 2006/03/02 03:38:48 dyoung Exp $ */
/* $NetBSD: ieee80211_node.c,v 1.53 2006/03/08 23:46:27 lukem Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@ -36,7 +36,7 @@
__FBSDID("$FreeBSD: src/sys/net80211/ieee80211_node.c,v 1.65 2005/08/13 17:50:21 sam Exp $");
#endif
#ifdef __NetBSD__
__KERNEL_RCSID(0, "$NetBSD: ieee80211_node.c,v 1.52 2006/03/02 03:38:48 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: ieee80211_node.c,v 1.53 2006/03/08 23:46:27 lukem Exp $");
#endif
#include "opt_inet.h"
@ -588,7 +588,7 @@ ieee80211_node_compare(struct ieee80211com *ic,
if (maxa != maxb)
return maxa - maxb;
/* XXX use freq for channel preference */
/* for now just prefer 5Ghz band to all other bands */
/* for now just prefer 5 GHz band to all other bands */
if (IEEE80211_IS_CHAN_5GHZ(a->ni_chan) &&
!IEEE80211_IS_CHAN_5GHZ(b->ni_chan))
return 1;

View File

@ -27,7 +27,7 @@
* i4b_q931.c - Q931 received messages handling
* --------------------------------------------
*
* $Id: i4b_q931.c,v 1.18 2005/12/11 12:25:06 christos Exp $
* $Id: i4b_q931.c,v 1.19 2006/03/08 23:46:27 lukem Exp $
*
* $FreeBSD$
*
@ -36,7 +36,7 @@
*---------------------------------------------------------------------------*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: i4b_q931.c,v 1.18 2005/12/11 12:25:06 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: i4b_q931.c,v 1.19 2006/03/08 23:46:27 lukem Exp $");
#ifdef __FreeBSD__
#include "i4bq931.h"
@ -298,7 +298,7 @@ i4b_decode_q931_cs0_ie(call_desc_t *cd, int msg_len, u_char *msg_ptr)
{
case 0x80: /* speech */
case 0x89: /* restricted digital info */
case 0x90: /* 3.1KHz audio */
case 0x90: /* 3.1 kHz audio */
/* XXX */ cd->bprot = BPROT_NONE;
NDBGL3(L3_P_MSG, "IEI_BEARERCAP - Telephony");
break;