Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/netvsc/hv_rndis_filter.c
Show First 20 Lines • Show All 833 Lines • ▼ Show 20 Lines | hv_rf_init_device(struct hn_softc *sc) | ||||
} | } | ||||
if (bootverbose) { | if (bootverbose) { | ||||
if_printf(sc->hn_ifp, "RNDIS ver %u.%u, pktsz %u, pktcnt %u, " | if_printf(sc->hn_ifp, "RNDIS ver %u.%u, pktsz %u, pktcnt %u, " | ||||
"align %u\n", comp->rm_ver_major, comp->rm_ver_minor, | "align %u\n", comp->rm_ver_major, comp->rm_ver_minor, | ||||
comp->rm_pktmaxsz, comp->rm_pktmaxcnt, | comp->rm_pktmaxsz, comp->rm_pktmaxcnt, | ||||
1U << comp->rm_align); | 1U << comp->rm_align); | ||||
} | } | ||||
error = 0; | error = 0; | ||||
done: | done: | ||||
if (xact != NULL) | |||||
vmbus_xact_put(xact); | vmbus_xact_put(xact); | ||||
return (error); | return (error); | ||||
} | } | ||||
/* | /* | ||||
* RNDIS filter halt device | * RNDIS filter halt device | ||||
*/ | */ | ||||
static int | static int | ||||
hv_rf_halt_device(struct hn_softc *sc) | hv_rf_halt_device(struct hn_softc *sc) | ||||
▲ Show 20 Lines • Show All 220 Lines • Show Last 20 Lines |