summaryrefslogtreecommitdiff
path: root/sys/dev/hfa
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1999-08-21 06:24:40 +0000
committerMike Smith <msmith@FreeBSD.org>1999-08-21 06:24:40 +0000
commitfcb893a801d281f10818fb4c88ed31215283a94e (patch)
treef4575d58021ad3c4d19c4d403050bb3dad3543da /sys/dev/hfa
parent2a67fa4383b91146ae25b36cde91d05ffd7d5597 (diff)
Notes
Diffstat (limited to 'sys/dev/hfa')
-rw-r--r--sys/dev/hfa/fore_load.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/dev/hfa/fore_load.c b/sys/dev/hfa/fore_load.c
index 3921475ed7ee..f7eeeeced31f 100644
--- a/sys/dev/hfa/fore_load.c
+++ b/sys/dev/hfa/fore_load.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: fore_load.c,v 1.8 1999/05/10 22:53:45 mks Exp $
+ * @(#) $Id: fore_load.c,v 1.9 1999/05/30 16:51:25 phk Exp $
*
*/
@@ -38,7 +38,7 @@
#include <dev/hfa/fore_include.h>
#ifndef lint
-__RCSID("@(#) $Id: fore_load.c,v 1.8 1999/05/10 22:53:45 mks Exp $");
+__RCSID("@(#) $Id: fore_load.c,v 1.9 1999/05/30 16:51:25 phk Exp $");
#endif
@@ -59,7 +59,7 @@ static void fore_pci_attach __P((pcici_t, int));
#if BSD < 199506
static int fore_pci_shutdown __P((struct kern_devconf *, int));
#else
-static void fore_pci_shutdown __P((int, void *));
+static void fore_pci_shutdown __P((void *, int));
#endif
#endif
static void fore_unattach __P((Fore_unit *));
@@ -1055,7 +1055,8 @@ fore_pci_attach(config_id, unit)
/*
* Add hook to our shutdown function
*/
- at_shutdown(fore_pci_shutdown, fup, SHUTDOWN_POST_SYNC);
+ EVENTHANDLER_REGISTER(shutdown_post_sync, fore_pci_shutdown, fup,
+ SHUTDOWN_PRI_DEFAULT);
#endif
/*
@@ -1125,9 +1126,9 @@ fore_pci_shutdown(kdc, force)
*
*/
static void
-fore_pci_shutdown(howto, fup)
- int howto;
+fore_pci_shutdown(fup, howto)
void *fup;
+ int howto;
{
fore_reset((Fore_unit *) fup);