diff options
| author | Andriy Gapon <avg@FreeBSD.org> | 2009-06-11 17:14:28 +0000 |
|---|---|---|
| committer | Andriy Gapon <avg@FreeBSD.org> | 2009-06-11 17:14:28 +0000 |
| commit | c0e55e3b65ffb5b5aa0f4c0f76f4ed62c6d25993 (patch) | |
| tree | 99454c55202dfe1adf0ecef7f0dcf12ee4d6f372 /sys/dev/ubsec | |
| parent | 385a7316b4ce10be1acd7ec1855a384c6d4d6b4b (diff) | |
Notes
Diffstat (limited to 'sys/dev/ubsec')
| -rw-r--r-- | sys/dev/ubsec/ubsec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ubsec/ubsec.c b/sys/dev/ubsec/ubsec.c index 3fb9df2e6dcc..5e3cc8bf8cce 100644 --- a/sys/dev/ubsec/ubsec.c +++ b/sys/dev/ubsec/ubsec.c @@ -107,7 +107,7 @@ static int ubsec_attach(device_t); static int ubsec_detach(device_t); static int ubsec_suspend(device_t); static int ubsec_resume(device_t); -static void ubsec_shutdown(device_t); +static int ubsec_shutdown(device_t); static int ubsec_newsession(device_t, u_int32_t *, struct cryptoini *); static int ubsec_freesession(device_t, u_int64_t); @@ -558,12 +558,13 @@ ubsec_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 ubsec_shutdown(device_t dev) { #ifdef notyet ubsec_stop(device_get_softc(dev)); #endif + return (0); } /* |
