Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/tc Fix botch on device_t/softc split in debug ...
details: https://anonhg.NetBSD.org/src/rev/e16d808ff55a
branches: trunk
changeset: 782029:e16d808ff55a
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Oct 13 06:49:26 2012 +0000
description:
Fix botch on device_t/softc split in debug printf macro. from chs@
diffstat:
sys/arch/pmax/tc/asc_ioasic.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 451f872b62af -r e16d808ff55a sys/arch/pmax/tc/asc_ioasic.c
--- a/sys/arch/pmax/tc/asc_ioasic.c Sat Oct 13 06:44:24 2012 +0000
+++ b/sys/arch/pmax/tc/asc_ioasic.c Sat Oct 13 06:49:26 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asc_ioasic.c,v 1.24 2011/07/09 17:32:31 matt Exp $ */
+/* $NetBSD: asc_ioasic.c,v 1.25 2012/10/13 06:49:26 tsutsui Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: asc_ioasic.c,v 1.24 2011/07/09 17:32:31 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: asc_ioasic.c,v 1.25 2012/10/13 06:49:26 tsutsui Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -218,7 +218,7 @@
size_t size;
vaddr_t cp;
- NCR_DMA(("%s: start %d@%p,%s\n", sc->sc_dev.dv_xname,
+ NCR_DMA(("%s: start %d@%p,%s\n", device_xname(sc->sc_dev),
*asc->sc_dmalen, *asc->sc_dmaaddr, ispullup ? "IN" : "OUT"));
/* upto two 4KB pages */
Home |
Main Index |
Thread Index |
Old Index