Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic don't treat the EDMA self disable as autoconfig e...



details:   https://anonhg.NetBSD.org/src/rev/1e26bf5783f5
branches:  trunk
changeset: 967797:1e26bf5783f5
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Dec 22 20:59:42 2019 +0000

description:
don't treat the EDMA self disable as autoconfig error, it's perfectly
normal at least during boot when device connection is reported by controller

diffstat:

 sys/dev/ic/mvsata.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r c679e959111f -r 1e26bf5783f5 sys/dev/ic/mvsata.c
--- a/sys/dev/ic/mvsata.c       Sun Dec 22 20:54:00 2019 +0000
+++ b/sys/dev/ic/mvsata.c       Sun Dec 22 20:59:42 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsata.c,v 1.50 2019/12/22 20:54:00 jdolecek Exp $     */
+/*     $NetBSD: mvsata.c,v 1.51 2019/12/22 20:59:42 jdolecek Exp $     */
 /*
  * Copyright (c) 2008 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.50 2019/12/22 20:54:00 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.51 2019/12/22 20:59:42 jdolecek Exp $");
 
 #include "opt_mvsata.h"
 
@@ -525,10 +525,10 @@
 
                case nodma:
                default:
-                       aprint_error(
-                           "%s:%d:%d: EDMA self disable happen 0x%x\n",
+                       DPRINTF(DEBUG_INTR,
+                           ("%s:%d:%d: EDMA self disable happen 0x%x\n",
                            device_xname(MVSATA_DEV2(mvport)),
-                           mvport->port_hc->hc, mvport->port, cause);
+                           mvport->port_hc->hc, mvport->port, cause));
                        break;
                }
        }



Home | Main Index | Thread Index | Old Index