Module Name:    src
Committed By:   tsutsui
Date:           Sat Oct 13 06:32:11 UTC 2012

Modified Files:
        src/sys/arch/sun3/dev: dma.c

Log Message:
Fix botch on device_t/softc split in #if 0'ed debug printf. from chs@


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/sun3/dev/dma.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/arch/sun3/dev/dma.c
diff -u src/sys/arch/sun3/dev/dma.c:1.21 src/sys/arch/sun3/dev/dma.c:1.22
--- src/sys/arch/sun3/dev/dma.c:1.21	Tue Dec 16 22:35:27 2008
+++ src/sys/arch/sun3/dev/dma.c	Sat Oct 13 06:32:11 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: dma.c,v 1.21 2008/12/16 22:35:27 christos Exp $ */
+/*	$NetBSD: dma.c,v 1.22 2012/10/13 06:32:11 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1994 Paul Kranenburg.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.21 2008/12/16 22:35:27 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.22 2012/10/13 06:32:11 tsutsui Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -389,7 +389,7 @@ espdmaintr(struct dma_softc *sc)
 		 * another target.  As such, don't print the warning.
 		 */
 		printf("%s: xfer (%d) > req (%d)\n",
-		    sc->sc_dev.dv_xname, trans, sc->sc_dmasize);
+		    device_xname(sc->sc_dev), trans, sc->sc_dmasize);
 #endif
 		trans = sc->sc_dmasize;
 	}

Reply via email to