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/ti | |
| parent | e7356456ed980db73b21df22d5405c1aaeeca003 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ti')
| -rw-r--r-- | sys/dev/ti/if_ti.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 91d571b567049..343dee5898276 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -195,7 +195,7 @@ static void ti_init_locked(void *); static void ti_init2(struct ti_softc *); static void ti_stop(struct ti_softc *); static void ti_watchdog(struct ifnet *); -static void ti_shutdown(device_t); +static int ti_shutdown(device_t); static int ti_ifmedia_upd(struct ifnet *); static void ti_ifmedia_sts(struct ifnet *, struct ifmediareq *); @@ -3874,7 +3874,7 @@ ti_stop(sc) * 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 ti_shutdown(dev) device_t dev; { @@ -3884,4 +3884,6 @@ ti_shutdown(dev) TI_LOCK(sc); ti_chipinit(sc); TI_UNLOCK(sc); + + return (0); } |
