PERFORCE change 135630 for review
Warner Losh
imp at FreeBSD.org
Sun Feb 17 21:59:31 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=135630
Change 135630 by imp at 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);
More information about the p4-projects
mailing list