aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vge
diff options
context:
space:
mode:
authorPyun YongHyeon <yongari@FreeBSD.org>2007-11-22 02:45:00 +0000
committerPyun YongHyeon <yongari@FreeBSD.org>2007-11-22 02:45:00 +0000
commit6a087a8722f8f5730da0236d0656ed363b8f87b3 (patch)
treed1d19f54c55bb9daf8443358fe00c8ae2018ba6b /sys/dev/vge
parente7356456ed980db73b21df22d5405c1aaeeca003 (diff)
Notes
Diffstat (limited to 'sys/dev/vge')
-rw-r--r--sys/dev/vge/if_vge.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/vge/if_vge.c b/sys/dev/vge/if_vge.c
index 466e4fc3e1b4..9acbdacd4397 100644
--- a/sys/dev/vge/if_vge.c
+++ b/sys/dev/vge/if_vge.c
@@ -168,7 +168,7 @@ static void vge_stop (struct vge_softc *);
static void vge_watchdog (struct ifnet *);
static int vge_suspend (device_t);
static int vge_resume (device_t);
-static void vge_shutdown (device_t);
+static int vge_shutdown (device_t);
static int vge_ifmedia_upd (struct ifnet *);
static void vge_ifmedia_sts (struct ifnet *, struct ifmediareq *);
@@ -2374,7 +2374,7 @@ vge_resume(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
vge_shutdown(dev)
device_t dev;
{
@@ -2383,4 +2383,6 @@ vge_shutdown(dev)
sc = device_get_softc(dev);
vge_stop(sc);
+
+ return (0);
}