diff options
| author | Pyun YongHyeon <yongari@FreeBSD.org> | 2007-11-22 02:45:00 +0000 |
|---|---|---|
| committer | Pyun YongHyeon <yongari@FreeBSD.org> | 2007-11-22 02:45:00 +0000 |
| commit | 6a087a8722f8f5730da0236d0656ed363b8f87b3 (patch) | |
| tree | d1d19f54c55bb9daf8443358fe00c8ae2018ba6b /sys/dev/bfe | |
| parent | e7356456ed980db73b21df22d5405c1aaeeca003 (diff) | |
Notes
Diffstat (limited to 'sys/dev/bfe')
| -rw-r--r-- | sys/dev/bfe/if_bfe.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/bfe/if_bfe.c b/sys/dev/bfe/if_bfe.c index b88a6bd3de3b..396ae45fe52c 100644 --- a/sys/dev/bfe/if_bfe.c +++ b/sys/dev/bfe/if_bfe.c @@ -98,7 +98,7 @@ static void bfe_init (void *); static void bfe_init_locked (void *); static void bfe_stop (struct bfe_softc *); static void bfe_watchdog (struct ifnet *); -static void bfe_shutdown (device_t); +static int bfe_shutdown (device_t); static void bfe_tick (void *); static void bfe_txeof (struct bfe_softc *); static void bfe_rxeof (struct bfe_softc *); @@ -470,7 +470,7 @@ bfe_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 bfe_shutdown(device_t dev) { struct bfe_softc *sc; @@ -480,7 +480,8 @@ bfe_shutdown(device_t dev) bfe_stop(sc); BFE_UNLOCK(sc); - return; + + return (0); } static int |
