FreeBSD/sys/dev/cxgb/cxgb_main.c
/*
 * The cxgb_controller_detach routine is called with the device is
 * unloaded from the system.
 */
The cxgb_controller_detach routine is called with the device is
unloaded from the system.
The cxgb_controller_detach routine is called with the device is unloaded from the system .
static int
cxgb_controller_detach(device_t dev)
{
	struct adapter *sc;
	sc = device_get_softc(dev);
	cxgb_free(sc);
	return (0);
}
static int cxgb_controller_detach ( device_t dev ) { struct adapter * sc ; sc = device_get_softc ( dev ) ; cxgb_free ( sc ) ; return ( 0 ) ; }
The cxgb_controller_detach routine is called with the device is
 unloaded from the system.
The cxgb_controller_detach routine is called with the device is unloaded from the system .