FreeBSD/sys/dev/cxgb/cxgb_main.c
/*
 * Called when the last open device is closed.  Does NOT undo all of cxgb_up's
 * work.  Specifically, the resources grabbed under FULL_INIT_DONE are released
 * during controller_detach, not here.
 */
Called when the last open device is closed.  Does NOT undo all of cxgb_up's
work.  Specifically, the resources grabbed under FULL_INIT_DONE are released
during controller_detach, not here.
Called when the last open device is closed . Does NOT undo all of cxgb_up ' s work . Specifically the resources grabbed under FULL_INIT_DONE are released during controller_detach not here .
static void
cxgb_down(struct adapter *sc)
{
	t3_sge_stop(sc);
	t3_intr_disable(sc);
}
static void cxgb_down ( struct adapter * sc ) { t3_sge_stop ( sc ) ; t3_intr_disable ( sc ) ; }
Called when the last open device is closed.
Called when the last open device is closed .