Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Make this compile again: Use the device_xname() ...
details: https://anonhg.NetBSD.org/src/rev/a75309404281
branches: trunk
changeset: 770217:a75309404281
user: mbalmer <mbalmer%NetBSD.org@localhost>
date: Sat Oct 08 10:21:16 2011 +0000
description:
Make this compile again: Use the device_xname() macro to get the devic name.
diffstat:
sys/dev/pci/if_iwn.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 5d4e9010e656 -r a75309404281 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c Sat Oct 08 09:15:08 2011 +0000
+++ b/sys/dev/pci/if_iwn.c Sat Oct 08 10:21:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_iwn.c,v 1.59 2011/10/07 22:42:18 elric Exp $ */
+/* $NetBSD: if_iwn.c,v 1.60 2011/10/08 10:21:16 mbalmer Exp $ */
/* $OpenBSD: if_iwn.c,v 1.96 2010/05/13 09:25:03 damien Exp $ */
/*-
@@ -22,7 +22,7 @@
* adapters.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iwn.c,v 1.59 2011/10/07 22:42:18 elric Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwn.c,v 1.60 2011/10/08 10:21:16 mbalmer Exp $");
#define IWN_USE_RBUF /* Use local storage for RX */
#undef IWN_HWCRYPTO /* XXX does not even compile yet */
@@ -4098,7 +4098,7 @@
return iwn_cmd(sc, IWN_CMD_SET_POWER_MODE, &cmd, sizeof cmd, async);
}
- int
+int
iwn5000_runtime_calib(struct iwn_softc *sc)
{
struct iwn5000_calib_config cmd;
@@ -4127,7 +4127,7 @@
error = iwn5000_runtime_calib(sc);
if (error != 0) {
printf("%s: could not configure runtime calibration\n",
- sc->sc_dev.dv_xname);
+ device_xname(sc->sc_dev));
return error;
}
}
Home |
Main Index |
Thread Index |
Old Index