summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorkiyohara <kiyohara@NetBSD.org>2007-08-14 15:04:44 +0000
committerkiyohara <kiyohara@NetBSD.org>2007-08-14 15:04:44 +0000
commitfd0dddb4aaa04b304045eaf148497c381b89fd6d (patch)
treed0b114ff30833feef4db8bf9ed700507a8d1076e /sys/dev/ic
parent6a129c6ab27143090781725499807ce7fd4081ad (diff)
Must call callout_init().
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/smc91cxx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/smc91cxx.c b/sys/dev/ic/smc91cxx.c
index f3afd2fee6e..2526cc1d256 100644
--- a/sys/dev/ic/smc91cxx.c
+++ b/sys/dev/ic/smc91cxx.c
@@ -1,4 +1,4 @@
-/* $NetBSD: smc91cxx.c,v 1.59 2007/03/04 06:02:02 christos Exp $ */
+/* $NetBSD: smc91cxx.c,v 1.60 2007/08/14 15:04:44 kiyohara Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smc91cxx.c,v 1.59 2007/03/04 06:02:02 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smc91cxx.c,v 1.60 2007/08/14 15:04:44 kiyohara Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@@ -370,6 +370,8 @@ smc91cxx_attach(sc, myea)
RND_TYPE_NET, 0);
#endif
+ callout_init(&sc->sc_mii_callout, 0);
+
/* The attach is successful. */
sc->sc_flags |= SMC_FLAGS_ATTACHED;
}