Module Name: src
Committed By: tsutsui
Date: Fri Sep 18 12:40:15 UTC 2009
Modified Files:
src/sys/dev/ic: hme.c hmevar.h
Log Message:
hme_reset() is no longer called from bus attachments so make it static.
To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/dev/ic/hme.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/ic/hmevar.h
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/hme.c
diff -u src/sys/dev/ic/hme.c:1.81 src/sys/dev/ic/hme.c:1.82
--- src/sys/dev/ic/hme.c:1.81 Tue Sep 8 18:35:42 2009
+++ src/sys/dev/ic/hme.c Fri Sep 18 12:40:15 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: hme.c,v 1.81 2009/09/08 18:35:42 tsutsui Exp $ */
+/* $NetBSD: hme.c,v 1.82 2009/09/18 12:40:15 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.81 2009/09/08 18:35:42 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.82 2009/09/18 12:40:15 tsutsui Exp $");
/* #define HMEDEBUG */
@@ -95,6 +95,7 @@
static int hme_init(struct hme_softc *);
static void hme_meminit(struct hme_softc *);
static void hme_mifinit(struct hme_softc *);
+static void hme_reset(struct hme_softc *);
static void hme_chipreset(struct hme_softc *);
static void hme_setladrf(struct hme_softc *);
Index: src/sys/dev/ic/hmevar.h
diff -u src/sys/dev/ic/hmevar.h:1.20 src/sys/dev/ic/hmevar.h:1.21
--- src/sys/dev/ic/hmevar.h:1.20 Tue Sep 8 17:16:33 2009
+++ src/sys/dev/ic/hmevar.h Fri Sep 18 12:40:15 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: hmevar.h,v 1.20 2009/09/08 17:16:33 tsutsui Exp $ */
+/* $NetBSD: hmevar.h,v 1.21 2009/09/18 12:40:15 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -101,5 +101,4 @@
void hme_config(struct hme_softc *);
-void hme_reset(struct hme_softc *);
int hme_intr(void *);