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 typo, remove debug printf.



details:   https://anonhg.NetBSD.org/src/rev/f45774d2c8cb
branches:  trunk
changeset: 459849:f45774d2c8cb
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sat Sep 28 10:47:09 2019 +0000

description:
Fix typo, remove debug printf.

diffstat:

 sys/dev/pci/sdhc_pci.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 5f02a3a6427a -r f45774d2c8cb sys/dev/pci/sdhc_pci.c
--- a/sys/dev/pci/sdhc_pci.c    Sat Sep 28 08:21:08 2019 +0000
+++ b/sys/dev/pci/sdhc_pci.c    Sat Sep 28 10:47:09 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdhc_pci.c,v 1.14 2017/04/27 10:01:54 msaitoh Exp $    */
+/*     $NetBSD: sdhc_pci.c,v 1.15 2019/09/28 10:47:09 mlelstv Exp $    */
 /*     $OpenBSD: sdhc_pci.c,v 1.7 2007/10/30 18:13:45 chl Exp $        */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdhc_pci.c,v 1.14 2017/04/27 10:01:54 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc_pci.c,v 1.15 2019/09/28 10:47:09 mlelstv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_sdmmc.h"
@@ -436,12 +436,11 @@
 
        /*
         * Some SD/MMC cards don't work with the default base
-        * clock frequency of 200MHz.  Lower it to 50Hz.
+        * clock frequency of 200MHz.  Lower it to 50MHz.
         */
        sdhc_pci_conf_write(pa, SDHC_PCI_BASE_FREQ_KEY, 0x01);
        sdhc_pci_conf_write(pa, SDHC_PCI_BASE_FREQ, 50);
        sdhc_pci_conf_write(pa, SDHC_PCI_BASE_FREQ_KEY, 0x00);
-printf("quirked\n");
 }
 
 static void



Home | Main Index | Thread Index | Old Index