Module Name: src
Committed By: cegger
Date: Mon May 11 21:22:47 UTC 2009
Modified Files:
src/sys/dev/ic: smc91cxx.c
Log Message:
use device_xname()
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/ic/smc91cxx.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/ic/smc91cxx.c
diff -u src/sys/dev/ic/smc91cxx.c:1.73 src/sys/dev/ic/smc91cxx.c:1.74
--- src/sys/dev/ic/smc91cxx.c:1.73 Sat Mar 14 21:04:20 2009
+++ src/sys/dev/ic/smc91cxx.c Mon May 11 21:22:47 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: smc91cxx.c,v 1.73 2009/03/14 21:04:20 dsl Exp $ */
+/* $NetBSD: smc91cxx.c,v 1.74 2009/05/11 21:22:47 cegger Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smc91cxx.c,v 1.73 2009/03/14 21:04:20 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smc91cxx.c,v 1.74 2009/05/11 21:22:47 cegger Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@@ -1052,7 +1052,7 @@
static int txsuc_count;
if (ppsratecheck(&txsuc_last, &txsuc_count, 1))
printf("%s: successful packet caused TX"
- " interrupt?!\n", sc->sc_dev.dv_xname);
+ " interrupt?!\n", device_xname(&sc->sc_dev));
} else
ifp->if_oerrors++;