Date: Wed, 4 Feb 2009 20:39:46 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r188128 - head/sys/dev/an Message-ID: <200902042039.n14KdkxQ090545@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Wed Feb 4 20:39:45 2009 New Revision: 188128 URL: http://svn.freebsd.org/changeset/base/188128 Log: Shutdown routine returns int. Modified: head/sys/dev/an/if_an.c head/sys/dev/an/if_anreg.h Modified: head/sys/dev/an/if_an.c ============================================================================== --- head/sys/dev/an/if_an.c Wed Feb 4 20:35:22 2009 (r188127) +++ head/sys/dev/an/if_an.c Wed Feb 4 20:39:45 2009 (r188128) @@ -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 Modified: head/sys/dev/an/if_anreg.h ============================================================================== --- head/sys/dev/an/if_anreg.h Wed Feb 4 20:35:22 2009 (r188127) +++ head/sys/dev/an/if_anreg.h Wed Feb 4 20:39:45 2009 (r188128) @@ -511,7 +511,7 @@ int an_alloc_aux_memory (device_t, 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902042039.n14KdkxQ090545>