-/* $OpenBSD: ehci.c,v 1.184 2015/04/10 15:33:20 mpi Exp $ */
+/* $OpenBSD: ehci.c,v 1.185 2015/04/16 14:23:48 mpi Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
struct ehci_xfer *ex = (struct ehci_xfer *)xfer;
usb_endpoint_descriptor_t *ed = xfer->pipe->endpoint->edesc;
const uint32_t mps = UGETW(ed->wMaxPacketSize);
- struct ehci_soft_itd *itd, *pitd = NULL;
+ struct ehci_soft_itd *itd = NULL, *pitd = NULL;
int i, j, nframes, uframes, ufrperframe;
int offs = 0, trans_count = 0;
pitd = itd;
}
- itd->xfer_next = NULL;
ex->itdend = itd;
return (0);
struct ehci_xfer *ex = (struct ehci_xfer *)xfer;
struct usbd_device *hshub = xfer->device->myhsport->parent;
usb_endpoint_descriptor_t *ed = xfer->pipe->endpoint->edesc;
- struct ehci_soft_itd *itd, *pitd = NULL;
+ struct ehci_soft_itd *itd = NULL, *pitd = NULL;
uint8_t smask, cmask, tp, uf;
int i, nframes, offs = 0;
uint32_t endp;
pitd = itd;
}
- itd->xfer_next = NULL;
ex->itdend = itd;
return (0);