Date: Mon, 18 Feb 2008 05:59:30 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 135630 for review Message-ID: <200802180559.m1I5xUF0051969@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=135630 Change 135630 by imp@imp_lighthouse on 2008/02/18 05:59:03 Fix this the right way. Make bfe_shutdown not be static. Affected files ... .. //depot/projects/mips2-jnpr/src/sys/dev/bfe/if_bfe.c#3 edit .. //depot/projects/mips2-jnpr/src/sys/dev/bfe/if_bfereg.h#3 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/dev/bfe/if_bfe.c#3 (text+ko) ==== @@ -79,7 +79,6 @@ static void bfe_init_locked (void *); static void bfe_stop (struct bfe_softc *); static void bfe_watchdog (struct ifnet *); -static int bfe_shutdown (device_t); static void bfe_tick (void *); static void bfe_txeof (struct bfe_softc *); static void bfe_rxeof (struct bfe_softc *); @@ -399,7 +398,7 @@ * Stop all chip I/O so that the kernel's probe routines don't * get confused by errant DMAs when rebooting. */ -static int +int bfe_shutdown(device_t dev) { struct bfe_softc *sc; ==== //depot/projects/mips2-jnpr/src/sys/dev/bfe/if_bfereg.h#3 (text+ko) ==== @@ -544,7 +544,7 @@ int bfe_detach(device_t); int bfe_suspend(device_t); int bfe_resume(device_t); -static int bfe_shutdown(device_t); +int bfe_shutdown(device_t); int bfe_miibus_readreg(device_t, int, int); int bfe_miibus_writereg(device_t, int, int, int);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802180559.m1I5xUF0051969>