FreeBSD/sys/dev/ixl/ixl_pf_main.c
/*********************************************************************
 *
 *  This routine disables all traffic on the adapter by issuing a
 *  global reset on the MAC and deallocates TX/RX buffers.
 *
 **********************************************************************/
This routine disables all traffic on the adapter by issuing a
global reset on the MAC and deallocates TX/RX buffers.
This routine disables all traffic on the adapter by issuing a global reset on the MAC and deallocates TX / RX buffers .
void
ixl_stop_locked(struct ixl_pf *pf)
{
	struct ixl_vsi	*vsi = &pf->vsi;
	struct ifnet	*ifp = vsi->ifp;
	INIT_DEBUGOUT("ixl_stop: begin\n");
	IXL_PF_LOCK_ASSERT(pf);
	callout_stop(&pf->timer);
	ixl_disable_rings_intr(vsi);
	ixl_disable_rings(vsi);
	ifp->if_drv_flags &= ~(IFF_DRV_RUNNING);
}
void ixl_stop_locked ( struct ixl_pf * pf ) { struct ixl_vsi * vsi = & pf -> vsi ; struct ifnet * ifp = vsi -> ifp ; INIT_DEBUGOUT ( " \n " ) ; IXL_PF_LOCK_ASSERT ( pf ) ; callout_stop ( & pf -> timer ) ; ixl_disable_rings_intr ( vsi ) ; ixl_disable_rings ( vsi ) ; ifp -> if_drv_flags &= ~ ( IFF_DRV_RUNNING ) ; }
This routine disables all traffic on the adapter by issuing a
  global reset on the MAC and deallocates TX/RX buffers.
This routine disables all traffic on the adapter by issuing a global reset on the MAC and deallocates TX / RX buffers .
/* Stop the local timer */ /* Tell the stack that the interface is no longer active */