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/nfe/if_nfe.c | |
| parent | e7356456ed980db73b21df22d5405c1aaeeca003 (diff) | |
Notes
Diffstat (limited to 'sys/dev/nfe/if_nfe.c')
| -rw-r--r-- | sys/dev/nfe/if_nfe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/nfe/if_nfe.c b/sys/dev/nfe/if_nfe.c index d76ff570f1b7..dab166d450bf 100644 --- a/sys/dev/nfe/if_nfe.c +++ b/sys/dev/nfe/if_nfe.c @@ -76,7 +76,7 @@ static int nfe_attach(device_t); static int nfe_detach(device_t); static int nfe_suspend(device_t); static int nfe_resume(device_t); -static void nfe_shutdown(device_t); +static int nfe_shutdown(device_t); static void nfe_power(struct nfe_softc *); static int nfe_miibus_readreg(device_t, int, int); static int nfe_miibus_writereg(device_t, int, int, int); @@ -3115,7 +3115,7 @@ nfe_tick(void *xsc) } -static void +static int nfe_shutdown(device_t dev) { struct nfe_softc *sc; @@ -3128,6 +3128,8 @@ nfe_shutdown(device_t dev) nfe_stop(ifp); /* nfe_reset(sc); */ NFE_UNLOCK(sc); + + return (0); } |
