Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun3/dev Fix botch on device_t/softc split in #if 0...



details:   https://anonhg.NetBSD.org/src/rev/f97c357a9f8d
branches:  trunk
changeset: 782023:f97c357a9f8d
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Oct 13 06:32:11 2012 +0000

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

diffstat:

 sys/arch/sun3/dev/dma.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ab40189ed1ef -r f97c357a9f8d sys/arch/sun3/dev/dma.c
--- a/sys/arch/sun3/dev/dma.c   Sat Oct 13 06:28:54 2012 +0000
+++ b/sys/arch/sun3/dev/dma.c   Sat Oct 13 06:32:11 2012 +0000
@@ -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 @@
                 * 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;
        }



Home | Main Index | Thread Index | Old Index