diff options
| author | Mike Smith <msmith@FreeBSD.org> | 1999-08-21 06:24:40 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 1999-08-21 06:24:40 +0000 |
| commit | fcb893a801d281f10818fb4c88ed31215283a94e (patch) | |
| tree | f4575d58021ad3c4d19c4d403050bb3dad3543da /sys/dev/tx | |
| parent | 2a67fa4383b91146ae25b36cde91d05ffd7d5597 (diff) | |
Notes
Diffstat (limited to 'sys/dev/tx')
| -rw-r--r-- | sys/dev/tx/if_tx.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c index 889923797848..af694f666659 100644 --- a/sys/dev/tx/if_tx.c +++ b/sys/dev/tx/if_tx.c @@ -1,5 +1,5 @@ /* $OpenBSD: if_tx.c,v 1.3 1998/10/10 04:30:09 jason Exp $ */ -/* $Id: if_tx.c,v 1.28 1999/07/03 20:17:05 peter Exp $ */ +/* $Id: if_tx.c,v 1.29 1999/07/06 19:23:30 des Exp $ */ /*- * Copyright (c) 1997 Semen Ustimenko (semen@iclub.nsu.ru) @@ -378,7 +378,7 @@ epic_shutdown( static const char* epic_freebsd_probe __P((pcici_t, pcidi_t)); static void epic_freebsd_attach __P((pcici_t, int)); -static void epic_shutdown __P((int, void *)); +static void epic_shutdown __P((void *, int)); /* Global variables */ static u_long epic_pci_count; @@ -546,7 +546,8 @@ epic_freebsd_attach( } /* Set shut down routine to stop DMA processes on reboot */ - at_shutdown(epic_shutdown, sc, SHUTDOWN_POST_SYNC); + EVENTHANDLER_REGISTER(shutdown_post_sync, epic_shutdown, sc, + SHUTDOWN_PRI_DEFAULT); /* Attach to if manager */ if_attach(ifp); @@ -565,8 +566,8 @@ epic_freebsd_attach( static void epic_shutdown( - int howto, - void *sc) + void *sc, + int howto) { epic_stop(sc); } |
