Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/netvsc/hv_net_vsc.c
Show First 20 Lines • Show All 635 Lines • ▼ Show 20 Lines | |||||
cleanup: | cleanup: | ||||
return (ret); | return (ret); | ||||
} | } | ||||
/* | /* | ||||
* Net VSC on device remove | * Net VSC on device remove | ||||
*/ | */ | ||||
int | int | ||||
hv_nv_on_device_remove(struct hn_softc *sc, boolean_t destroy_channel) | hv_nv_on_device_remove(struct hn_softc *sc) | ||||
{ | { | ||||
hv_nv_disconnect_from_vsp(sc); | hv_nv_disconnect_from_vsp(sc); | ||||
/* Now, we can close the channel safely */ | /* Now, we can close the channel safely */ | ||||
vmbus_chan_close(sc->hn_prichan); | vmbus_chan_close(sc->hn_prichan); | ||||
▲ Show 20 Lines • Show All 246 Lines • Show Last 20 Lines |