View | Details | Raw Unified | Return to bug 262882 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/dev/usb/controller/xhci.c (-2 / +5 lines)
Lines 2272-2280 xhci_configure_mask(struct usb_device *udev, uint32_t mask, uint8_t drop) Link Here
2272
	} else {
2272
	} else {
2273
		/*
2273
		/*
2274
		 * Some hardware requires that we drop the endpoint
2274
		 * Some hardware requires that we drop the endpoint
2275
		 * context before adding it again:
2275
		 * context before adding it again. Only drop
2276
		 * configured endpoints.
2276
		 */
2277
		 */
2277
		input->dwInCtx0 = htole32(mask & XHCI_INCTX_NON_CTRL_MASK);
2278
		input->dwInCtx0 = htole32(mask &
2279
		    sc->sc_hw.devs[index].ep_configured &
2280
		    XHCI_INCTX_NON_CTRL_MASK);
2278
2281
2279
		/* Add new endpoint context */
2282
		/* Add new endpoint context */
2280
		input->dwInCtx1 = htole32(mask);
2283
		input->dwInCtx1 = htole32(mask);

Return to bug 262882