Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/newsmips/apbus Fix botch on device_t/softc split in...
details: https://anonhg.NetBSD.org/src/rev/636f5afe3986
branches: trunk
changeset: 782019:636f5afe3986
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Oct 13 06:24:15 2012 +0000
description:
Fix botch on device_t/softc split inside #ifdef SNDEBUG part. from chs@
diffstat:
sys/arch/newsmips/apbus/if_sn.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 545576c8bfb2 -r 636f5afe3986 sys/arch/newsmips/apbus/if_sn.c
--- a/sys/arch/newsmips/apbus/if_sn.c Sat Oct 13 06:18:44 2012 +0000
+++ b/sys/arch/newsmips/apbus/if_sn.c Sat Oct 13 06:24:15 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_sn.c,v 1.33 2010/04/05 07:19:31 joerg Exp $ */
+/* $NetBSD: if_sn.c,v 1.34 2012/10/13 06:24:15 tsutsui Exp $ */
/*
* National Semiconductor DP8393X SONIC Driver
@@ -16,7 +16,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.33 2010/04/05 07:19:31 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.34 2012/10/13 06:24:15 tsutsui Exp $");
#include "opt_inet.h"
@@ -204,7 +204,7 @@
#ifdef SNDEBUG
aprint_debug_dev(sc->sc_dev, "buffers: rra=%p cda=%p rda=%p tda=%p\n",
- sc->sc_dev.dv_xname, sc->p_rra[0], sc->p_cda,
+ device_xname(sc->sc_dev), sc->p_rra[0], sc->p_cda,
sc->p_rda, sc->mtda[0].mtd_txp);
#endif
Home |
Main Index |
Thread Index |
Old Index