summaryrefslogtreecommitdiff
path: root/sys/dev/ic/am7990.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/am7990.c')
-rw-r--r--sys/dev/ic/am7990.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/dev/ic/am7990.c b/sys/dev/ic/am7990.c
index 1a05b1a69e0..b98061af829 100644
--- a/sys/dev/ic/am7990.c
+++ b/sys/dev/ic/am7990.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: am7990.c,v 1.43 2008/11/28 02:44:17 brad Exp $ */
+/* $OpenBSD: am7990.c,v 1.44 2009/08/10 20:29:54 deraadt Exp $ */
/* $NetBSD: am7990.c,v 1.22 1996/10/13 01:37:19 christos Exp $ */
/*-
@@ -78,8 +78,6 @@ integrate int am7990_put(struct am7990_softc *, int, struct mbuf *);
integrate struct mbuf *am7990_get(struct am7990_softc *, int, int);
integrate void am7990_read(struct am7990_softc *, int, int);
-hide void am7990_shutdown(void *);
-
#define ifp (&sc->sc_arpcom.ac_if)
#if 0 /* XXX what do we do about this?! --thorpej */
@@ -188,10 +186,6 @@ am7990_config(sc)
printf("%s: %d receive buffers, %d transmit buffers\n",
sc->sc_dev.dv_xname, sc->sc_nrbuf, sc->sc_ntbuf);
- sc->sc_sh = shutdownhook_establish(am7990_shutdown, sc);
- if (sc->sc_sh == NULL)
- panic("am7990_config: can't establish shutdownhook");
-
mem = 0;
sc->sc_initaddr = mem;
mem += sizeof(struct leinit);
@@ -914,14 +908,6 @@ am7990_ioctl(ifp, cmd, data)
return (error);
}
-hide void
-am7990_shutdown(arg)
- void *arg;
-{
-
- am7990_stop((struct am7990_softc *)arg);
-}
-
#ifdef LEDEBUG
void
am7990_recv_print(sc, no)