Module Name:    src
Committed By:   jdolecek
Date:           Sun Dec 22 20:59:42 UTC 2019

Modified Files:
        src/sys/dev/ic: mvsata.c

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/ic/mvsata.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/mvsata.c
diff -u src/sys/dev/ic/mvsata.c:1.50 src/sys/dev/ic/mvsata.c:1.51
--- src/sys/dev/ic/mvsata.c:1.50	Sun Dec 22 20:54:00 2019
+++ src/sys/dev/ic/mvsata.c	Sun Dec 22 20:59:42 2019
@@ -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 @@ mvsata_error(struct mvsata_port *mvport)
 
 		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;
 		}
 	}

Reply via email to