Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Fix comment.



details:   https://anonhg.NetBSD.org/src/rev/0a44be7e238f
branches:  trunk
changeset: 519806:0a44be7e238f
user:      itohy <itohy%NetBSD.org@localhost>
date:      Thu Dec 27 14:17:04 2001 +0000

description:
Fix comment.

diffstat:

 sys/dev/pci/cmpci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 79aef779f13f -r 0a44be7e238f sys/dev/pci/cmpci.c
--- a/sys/dev/pci/cmpci.c       Thu Dec 27 13:22:01 2001 +0000
+++ b/sys/dev/pci/cmpci.c       Thu Dec 27 14:17:04 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cmpci.c,v 1.11 2001/11/13 07:48:41 lukem Exp $ */
+/*     $NetBSD: cmpci.c,v 1.12 2001/12/27 14:17:04 itohy Exp $ */
 
 /*
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cmpci.c,v 1.11 2001/11/13 07:48:41 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cmpci.c,v 1.12 2001/12/27 14:17:04 itohy Exp $");
 
 #if defined(AUDIO_DEBUG) || defined(DEBUG)
 #define DPRINTF(x) if (cmpcidebug) printf x
@@ -443,7 +443,7 @@
                /*
                 * CMI8738 defaults are
                 *  master:     0xe0    (0x00 - 0xf8)
-                *  wave, DAC:  0xc0    (0x00 - 0xf8)
+                *  FM, DAC:    0xc0    (0x00 - 0xf8)
                 *  PC speaker: 0x80    (0x00 - 0xc0)
                 *  others:     0
                 */
@@ -1687,7 +1687,7 @@
        case CMPCI_MIC_RECVOL:
                if (cp->un.value.num_channels != 1)
                        return EINVAL;
-               /* fall into */
+               /*FALLTHROUGH*/
        case CMPCI_DAC_VOL:
        case CMPCI_FM_VOL:
        case CMPCI_CD_VOL:



Home | Main Index | Thread Index | Old Index