summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rt2661.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/rt2661.c')
-rw-r--r--sys/dev/ic/rt2661.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c
index 0fd7fa8a48c..f925d327e2a 100644
--- a/sys/dev/ic/rt2661.c
+++ b/sys/dev/ic/rt2661.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2661.c,v 1.15 2006/03/27 20:54:15 damien Exp $ */
+/* $OpenBSD: rt2661.c,v 1.16 2006/04/20 20:31:12 miod Exp $ */
/*-
* Copyright (c) 2006
@@ -2553,7 +2553,8 @@ rt2661_init(struct ifnet *ifp)
/* for CardBus, power on the socket */
if (!(sc->sc_flags & RT2661_ENABLED)) {
if (sc->sc_enable != NULL && (*sc->sc_enable)(sc) != 0) {
- printf("%s: could not enable device\n");
+ printf("%s: could not enable device\n",
+ sc->sc_dev.dv_xname);
return EIO;
}
sc->sc_flags |= RT2661_ENABLED;