summaryrefslogtreecommitdiff
path: root/sys/dev/ic/xl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/xl.c')
-rw-r--r--sys/dev/ic/xl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c
index add5997203b..ee49b881c46 100644
--- a/sys/dev/ic/xl.c
+++ b/sys/dev/ic/xl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xl.c,v 1.31 2001/11/06 19:53:18 miod Exp $ */
+/* $OpenBSD: xl.c,v 1.32 2001/12/15 05:33:53 nordin Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -867,6 +867,7 @@ void xl_setmode(sc, media)
void xl_reset(sc, hard)
struct xl_softc *sc;
+ int hard;
{
register int i;
@@ -2698,6 +2699,7 @@ xl_detach(sc)
if_detach(ifp);
shutdownhook_disestablish(sc->sc_sdhook);
+ powerhook_disestablish(sc->sc_sdhook);
return (0);
}