diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/lemac.c | 8 | ||||
-rw-r--r-- | sys/dev/ic/lemacvar.h | 3 | ||||
-rw-r--r-- | sys/dev/isa/if_lc_isa.c | 8 |
3 files changed, 3 insertions, 16 deletions
diff --git a/sys/dev/ic/lemac.c b/sys/dev/ic/lemac.c index eec61e082cb..798d0af3322 100644 --- a/sys/dev/ic/lemac.c +++ b/sys/dev/ic/lemac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lemac.c,v 1.12 2008/11/28 02:44:17 brad Exp $ */ +/* $OpenBSD: lemac.c,v 1.13 2009/08/10 22:08:04 deraadt Exp $ */ /* $NetBSD: lemac.c,v 1.20 2001/06/13 10:46:02 wiz Exp $ */ /*- @@ -993,12 +993,6 @@ lemac_intr(void *arg) return (1); } -void -lemac_shutdown(void *arg) -{ - lemac_reset((struct lemac_softc *)arg); -} - const char *const lemac_modes[4] = { "PIO mode (internal 2KB window)", "2KB window", diff --git a/sys/dev/ic/lemacvar.h b/sys/dev/ic/lemacvar.h index 5db112a0906..c55c0b47de7 100644 --- a/sys/dev/ic/lemacvar.h +++ b/sys/dev/ic/lemacvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: lemacvar.h,v 1.3 2006/12/21 22:17:56 jason Exp $ */ +/* $OpenBSD: lemacvar.h,v 1.4 2009/08/10 22:08:04 deraadt Exp $ */ /* $NetBSD: lemacvar.h,v 1.6 2001/06/13 10:46:03 wiz Exp $ */ /* @@ -151,6 +151,5 @@ void lemac_info_get(const bus_space_tag_t, const bus_space_handle_t, bus_addr_t *, bus_size_t *, int *); int lemac_port_check(const bus_space_tag_t, const bus_space_handle_t); int lemac_intr(void *); -void lemac_shutdown(void *); #endif /* _LEMACVAR_H */ diff --git a/sys/dev/isa/if_lc_isa.c b/sys/dev/isa/if_lc_isa.c index a25d22bc731..4d36e3006bd 100644 --- a/sys/dev/isa/if_lc_isa.c +++ b/sys/dev/isa/if_lc_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lc_isa.c,v 1.7 2005/11/21 18:16:40 millert Exp $ */ +/* $OpenBSD: if_lc_isa.c,v 1.8 2009/08/10 22:08:04 deraadt Exp $ */ /* $NetBSD: if_lc_isa.c,v 1.10 2001/06/13 10:46:03 wiz Exp $ */ /*- @@ -152,12 +152,6 @@ lemac_isa_find(sc, ia, attach) ia->ia_irq, irq); if (attach) { - sc->sc_ats = shutdownhook_establish(lemac_shutdown, sc); - if (sc->sc_ats == NULL) - printf( - "\n%s: warning: can't establish shutdown hook\n", - sc->sc_dv.dv_xname); - lemac_ifattach(sc); sc->sc_ih = isa_intr_establish(ia->ia_ic, irq, IST_EDGE, |