Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic hme_reset() is no longer called from bus attachme...
details: https://anonhg.NetBSD.org/src/rev/6a8b1b601f5c
branches: trunk
changeset: 747505:6a8b1b601f5c
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Sep 18 12:40:15 2009 +0000
description:
hme_reset() is no longer called from bus attachments so make it static.
diffstat:
sys/dev/ic/hme.c | 5 +++--
sys/dev/ic/hmevar.h | 3 +--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r b20e7da8d977 -r 6a8b1b601f5c sys/dev/ic/hme.c
--- a/sys/dev/ic/hme.c Fri Sep 18 12:23:16 2009 +0000
+++ b/sys/dev/ic/hme.c Fri Sep 18 12:40:15 2009 +0000
@@ -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 *);
diff -r b20e7da8d977 -r 6a8b1b601f5c sys/dev/ic/hmevar.h
--- a/sys/dev/ic/hmevar.h Fri Sep 18 12:23:16 2009 +0000
+++ b/sys/dev/ic/hmevar.h Fri Sep 18 12:40:15 2009 +0000
@@ -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 *);
Home |
Main Index |
Thread Index |
Old Index