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/c8aa78471005
branches:  trunk
changeset: 466461:c8aa78471005
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 944ed3b93bc9 -r c8aa78471005 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