Module Name: src Committed By: enami Date: Thu Feb 10 05:07:46 UTC 2011
Modified Files: src/sys/dev/ata: wd.c Log Message: Start new line before issuing IDENTIFY command since messages from other driver may interfere during waiting for command completion. To generate a diff of this commit: cvs rdiff -u -r1.385 -r1.386 src/sys/dev/ata/wd.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/ata/wd.c diff -u src/sys/dev/ata/wd.c:1.385 src/sys/dev/ata/wd.c:1.386 --- src/sys/dev/ata/wd.c:1.385 Fri Nov 5 15:49:37 2010 +++ src/sys/dev/ata/wd.c Thu Feb 10 05:07:46 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: wd.c,v 1.385 2010/11/05 15:49:37 dyoung Exp $ */ +/* $NetBSD: wd.c,v 1.386 2011/02/10 05:07:46 enami Exp $ */ /* * Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved. @@ -54,7 +54,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.385 2010/11/05 15:49:37 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.386 2011/02/10 05:07:46 enami Exp $"); #include "opt_ata.h" @@ -281,10 +281,11 @@ wd->drvp->drv_softc = wd->sc_dev; aprint_naive("\n"); + aprint_normal("\n"); /* read our drive info */ if (wd_get_params(wd, AT_WAIT, &wd->sc_params) != 0) { - aprint_error("\n%s: IDENTIFY failed\n", device_xname(self)); + aprint_error_dev(self, "IDENTIFY failed\n"); return; } @@ -304,7 +305,7 @@ } *q++ = '\0'; - aprint_normal(": <%s>\n", tbuf); + aprint_normal_dev(self, "<%s>\n", tbuf); wdq = wd_lookup_quirks(tbuf); if (wdq != NULL)