<div>hello:</div>
<div> i read the netcard DEC21140 driver recently, i noticed that dec21140_stop( ) is called in the dec21140_ioctrl( ) function. But </div>
<div>rtems doesn't tell what to do in the stop( ) function. </div>
<div> Anyone can give some information ?</div>
<div> </div>
<div> here is the code for dec21140_stop ( ) </div>
<div>
<p>static void<br>dec21140_stop (struct dec21140_softc *sc)<br>{<br> volatile unsigned int *tbase;<br> struct ifnet *ifp = &sc->arpcom.ac_if;</p>
<p> ifp->if_flags &= ~IFF_RUNNING;</p>
<p> /*<br> * Stop the transmitter<br> */<br> tbase = sc->base;<br> st_le32( (tbase+memCSR7), NO_IT);<br> st_le32( (tbase+memCSR6), CSR6_INIT);</p>
<p> /* free((void*)sc->bufferBase); */<br>}<br> </p>
<p> Best wishes!</p></div>