Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/bktr fix various typos in bktr driver comments.



details:   https://anonhg.NetBSD.org/src/rev/fcd249238008
branches:  trunk
changeset: 1029047:fcd249238008
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Dec 19 22:03:41 2021 +0000

description:
fix various typos in bktr driver comments.

diffstat:

 sys/dev/pci/bktr/bktr_audio.c |   8 ++++----
 sys/dev/pci/bktr/bktr_core.c  |  14 +++++++-------
 sys/dev/pci/bktr/bktr_core.h  |   4 ++--
 sys/dev/pci/bktr/bktr_tuner.c |  10 +++++-----
 4 files changed, 18 insertions(+), 18 deletions(-)

diffs (170 lines):

diff -r d56c286baf3a -r fcd249238008 sys/dev/pci/bktr/bktr_audio.c
--- a/sys/dev/pci/bktr/bktr_audio.c     Sun Dec 19 21:15:27 2021 +0000
+++ b/sys/dev/pci/bktr/bktr_audio.c     Sun Dec 19 22:03:41 2021 +0000
@@ -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.19 2012/12/07 05:56:30 msaitoh Exp $  */
+/*     $NetBSD: bktr_audio.c,v 1.20 2021/12/19 22:03:41 andvar 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.19 2012/12/07 05:56:30 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bktr_audio.c,v 1.20 2021/12/19 22:03:41 andvar Exp $");
 
 #include <sys/proc.h>
 #include <dev/ic/bt8xx.h>      /* NetBSD location of .h files */
@@ -560,7 +560,7 @@
         msp_dpl_write(bktr, bktr->msp_addr, 0x12, 0x0008,0x0020);/* Loudspeaker set stereo*/
         /*
           set spatial effect strength to 50% enlargement
-          set spatial effect mode b, stereo basewidth enlargment only
+          set spatial effect mode b, stereo basewidth enlargement only
         */
         msp_dpl_write(bktr, bktr->msp_addr, 0x12, 0x0005,0x3f28);
       } else if (stereo > 0x8000) {    /* bilingual mode */
@@ -572,7 +572,7 @@
         msp_dpl_write(bktr, bktr->msp_addr, 0x12, 0x0008,0x0030);/* Loudspeaker */
         /*
           set spatial effect strength to 50% enlargement
-          set spatial effect mode a, stereo basewidth enlargment
+          set spatial effect mode a, stereo basewidth enlargement
           and pseudo stereo effect with automatic high-pass filter
         */
         msp_dpl_write(bktr, bktr->msp_addr, 0x12, 0x0005,0x3f08);
diff -r d56c286baf3a -r fcd249238008 sys/dev/pci/bktr/bktr_core.c
--- a/sys/dev/pci/bktr/bktr_core.c      Sun Dec 19 21:15:27 2021 +0000
+++ b/sys/dev/pci/bktr/bktr_core.c      Sun Dec 19 22:03:41 2021 +0000
@@ -1,6 +1,6 @@
 /* $SourceForge: bktr_core.c,v 1.6 2003/03/11 23:11:22 thomasklausner Exp $ */
 
-/*     $NetBSD: bktr_core.c,v 1.58 2020/05/23 23:42:42 ad Exp $        */
+/*     $NetBSD: bktr_core.c,v 1.59 2021/12/19 22:03:41 andvar Exp $    */
 /* $FreeBSD: src/sys/dev/bktr/bktr_core.c,v 1.114 2000/10/31 13:09:56 roger Exp$ */
 
 /*
@@ -11,7 +11,7 @@
  *
  * bktr_core : This deals with the Bt848/849/878/879 PCI Frame Grabber,
  *               Handles all the open, close, ioctl and read userland calls.
- *               Sets the Bt848 registers and generates RISC pograms.
+ *               Sets the Bt848 registers and generates RISC programs.
  *               Controls the i2c bus and GPIO interface.
  *               Contains the interface to the kernel.
  *               (eg probe/attach and open/close/ioctl)
@@ -98,7 +98,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bktr_core.c,v 1.58 2020/05/23 23:42:42 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bktr_core.c,v 1.59 2021/12/19 22:03:41 andvar Exp $");
 
 #include "opt_bktr.h"          /* Include any kernel config options */
 
@@ -265,7 +265,7 @@
  * user program from /dev/vbi.
  */
 
-#define MAX_VBI_LINES        16   /* Maximum for all vidoe formats */
+#define MAX_VBI_LINES        16   /* Maximum for all video formats */
 #define VBI_LINE_SIZE         2048 /* Store upto 2048 bytes per line */
 #define VBI_BUFFER_ITEMS      20   /* Number of frames we buffer */
 #define VBI_DATA_SIZE         (VBI_LINE_SIZE * MAX_VBI_LINES * 2)
@@ -1336,7 +1336,7 @@
            }
            bktr->max_clip_node = i;
 
-           /* make sure that the list contains a valid clip secquence */
+           /* make sure that the list contains a valid clip sequence */
            /* the clip rectangles should be sorted by x then by y as the
                second order sort key */
 
@@ -1667,7 +1667,7 @@
 
                        start_capture(bktr, METEOR_CONTIN);
 
-                       /* Clear the interrypt status register */
+                       /* Clear the interrupt status register */
                        OUTL(bktr, BKTR_INT_STAT, INL(bktr, BKTR_INT_STAT));
 
                        OUTW(bktr, BKTR_GPIO_DMA_CTL, FIFO_ENABLED);
@@ -2355,7 +2355,7 @@
                /*   Tuner is MUX0, RCA is MUX1, S-Video is MUX2 */
                /* On the Hauppauge bt878 boards, */
                /*   Tuner is MUX0, RCA is MUX3 */
-               /* Unfortunatly Meteor driver codes DEV_RCA as DEV_0, so we */
+               /* Unfortunately Meteor driver codes DEV_RCA as DEV_0, so we */
                /* stick with this system in our Meteor Emulation */
 
                switch(*(unsigned int *)arg & METEOR_DEV_MASK) {
diff -r d56c286baf3a -r fcd249238008 sys/dev/pci/bktr/bktr_core.h
--- a/sys/dev/pci/bktr/bktr_core.h      Sun Dec 19 21:15:27 2021 +0000
+++ b/sys/dev/pci/bktr/bktr_core.h      Sun Dec 19 22:03:41 2021 +0000
@@ -1,6 +1,6 @@
 /* $SourceForge: bktr_core.h,v 1.3 2003/03/11 23:11:23 thomasklausner Exp $ */
 
-/*     $NetBSD: bktr_core.h,v 1.10 2008/01/16 13:08:55 jmcneill Exp $  */
+/*     $NetBSD: bktr_core.h,v 1.11 2021/12/19 22:03:41 andvar Exp $    */
 /* $FreeBSD: src/sys/dev/bktr/bktr_core.h,v 1.4 2000/06/26 09:41:32 roger Exp$ */
 
 /*
@@ -11,7 +11,7 @@
  *
  * bktr_core : This deals with the Bt848/849/878/879 PCI Frame Grabber,
  *               Handles all the open, close, ioctl and read userland calls.
- *               Sets the Bt848 registers and generates RISC pograms.
+ *               Sets the Bt848 registers and generates RISC programs.
  *               Controls the i2c bus and GPIO interface.
  *               Contains the interface to the kernel.
  *               (eg probe/attach and open/close/ioctl)
diff -r d56c286baf3a -r fcd249238008 sys/dev/pci/bktr/bktr_tuner.c
--- a/sys/dev/pci/bktr/bktr_tuner.c     Sun Dec 19 21:15:27 2021 +0000
+++ b/sys/dev/pci/bktr/bktr_tuner.c     Sun Dec 19 22:03:41 2021 +0000
@@ -1,6 +1,6 @@
 /* $Sourceforge: bktr_tuner.c,v 1.5 2003/03/13 22:21:04 emsi Exp $ */
 
-/*     $NetBSD: bktr_tuner.c,v 1.12 2007/10/19 12:01:03 ad Exp $       */
+/*     $NetBSD: bktr_tuner.c,v 1.13 2021/12/19 22:03:41 andvar Exp $   */
 /* $FreeBSD: src/sys/dev/bktr/bktr_tuner.c,v 1.9 2000/10/19 07:33:28 roger Exp$ */
 
 /*
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bktr_tuner.c,v 1.12 2007/10/19 12:01:03 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bktr_tuner.c,v 1.13 2021/12/19 22:03:41 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -89,7 +89,7 @@
 
 
 #if defined(TUNER_AFC)
-#define AFC_DELAY               10000   /* 10 millisend delay */
+#define AFC_DELAY               10000   /* 10 milliseconds delay */
 #define AFC_BITS                0x07
 #define AFC_FREQ_MINUS_125      0x00
 #define AFC_FREQ_MINUS_62       0x01
@@ -740,7 +740,7 @@
  * High band 450.00 to 855.25 MHz
  *
  *
- * Now we need to set the PLL on the tuner to the required freuqncy.
+ * Now we need to set the PLL on the tuner to the required frequency.
  * It has a programmable divisor.
  * For TV we want
  *  N = 16 (freq RF(pc) + freq IF(pc))  pc is picture carrier and RF and IF
@@ -813,7 +813,7 @@
                 * where:
                 *  pc is picture carrier, fRF & fIF are in MHz
                 *
-                * fortunatly, frequency is passed in as MHz * 16
+                * fortunately, frequency is passed in as MHz * 16
                 * and the TBL_IF frequency is also stored in MHz * 16
                 */
                N = frequency + TBL_IF;



Home | Main Index | Thread Index | Old Index