--- dev/ic/xl.c-	Sun Aug 19 14:07:33 2001
+++ dev/ic/xl.c	Thu Jan 31 12:57:58 2002
@@ -1,4 +1,4 @@
-/*	$OpenBSD: xl.c,v 1.30 2001/08/19 18:07:33 jason Exp $	*/
+/*	$OpenBSD: xl.c,v 1.33 2002/01/25 05:44:06 nordin Exp $	*/
 
 /*
  * Copyright (c) 1997, 1998, 1999
@@ -867,6 +867,7 @@
 
 void xl_reset(sc, hard)
 	struct xl_softc		*sc;
+	int hard;
 {
 	register int		i;
 
@@ -2698,6 +2699,7 @@
 	if_detach(ifp);
 
 	shutdownhook_disestablish(sc->sc_sdhook);
+	powerhook_disestablish(sc->sc_pwrhook);
 
 	return (0);
 }
