summaryrefslogtreecommitdiffstats
path: root/sys/dev/hifn
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-02-05 19:37:49 +0000
committerimp <imp@FreeBSD.org>2009-02-05 19:37:49 +0000
commit3a5200e02e5e318fad8ce45518efc28bb413ac1b (patch)
tree2046c09eec4d8037ecd5ca9178833569ae12e940 /sys/dev/hifn
parent519fc8678e3e7a946c7436fbb69b2caedb40959c (diff)
downloadFreeBSD-src-3a5200e02e5e318fad8ce45518efc28bb413ac1b.zip
FreeBSD-src-3a5200e02e5e318fad8ce45518efc28bb413ac1b.tar.gz
shutdown returns an int
Diffstat (limited to 'sys/dev/hifn')
-rw-r--r--sys/dev/hifn/hifn7751.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/hifn/hifn7751.c b/sys/dev/hifn/hifn7751.c
index d3a66e6..c227f77 100644
--- a/sys/dev/hifn/hifn7751.c
+++ b/sys/dev/hifn/hifn7751.c
@@ -98,7 +98,7 @@ static int hifn_attach(device_t);
static int hifn_detach(device_t);
static int hifn_suspend(device_t);
static int hifn_resume(device_t);
-static void hifn_shutdown(device_t);
+static int hifn_shutdown(device_t);
static int hifn_newsession(device_t, u_int32_t *, struct cryptoini *);
static int hifn_freesession(device_t, u_int64_t);
@@ -691,12 +691,13 @@ hifn_detach(device_t dev)
* Stop all chip I/O so that the kernel's probe routines don't
* get confused by errant DMAs when rebooting.
*/
-static void
+static int
hifn_shutdown(device_t dev)
{
#ifdef notyet
hifn_stop(device_get_softc(dev));
#endif
+ return (0);
}
/*
OpenPOWER on IntegriCloud