aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/an
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2009-02-04 20:39:45 +0000
committerWarner Losh <imp@FreeBSD.org>2009-02-04 20:39:45 +0000
commit56e63ed73847c621879ead4d7ee9a4c4c3a0254e (patch)
tree973a927b33d1be84650cc23ff658ab0b78a7922a /sys/dev/an
parent850f048e581a01f626c2ce13e132bf3687ad7057 (diff)
downloadsrc-56e63ed73847c621879ead4d7ee9a4c4c3a0254e.tar.gz
src-56e63ed73847c621879ead4d7ee9a4c4c3a0254e.zip
Shutdown routine returns int.
Notes
Notes: svn path=/head/; revision=188128
Diffstat (limited to 'sys/dev/an')
-rw-r--r--sys/dev/an/if_an.c4
-rw-r--r--sys/dev/an/if_anreg.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index ae9fc0900003..1d22322d8f7e 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -2989,7 +2989,7 @@ an_watchdog(struct ifnet *ifp)
return;
}
-void
+int
an_shutdown(device_t dev)
{
struct an_softc *sc;
@@ -2998,7 +2998,7 @@ an_shutdown(device_t dev)
an_stop(sc);
sc->an_gone = 1;
- return;
+ return 0;
}
void
diff --git a/sys/dev/an/if_anreg.h b/sys/dev/an/if_anreg.h
index fb2d6a715002..ec0ad2bc4a80 100644
--- a/sys/dev/an/if_anreg.h
+++ b/sys/dev/an/if_anreg.h
@@ -511,7 +511,7 @@ int an_alloc_aux_memory (device_t, int, int);
int an_alloc_irq (device_t, int, int);
int an_pci_probe (device_t);
int an_probe (device_t);
-void an_shutdown (device_t);
+int an_shutdown (device_t);
void an_resume (device_t);
int an_attach (struct an_softc *, int, int);
int an_detach (device_t);