Add debug lines for fullspeed and highspeed xfer completion.

Submitted by:	Hans Petter Selasky
This commit is contained in:
Andrew Thompson 2009-05-13 18:04:51 +00:00
parent 3a67e91430
commit c773c25419

View File

@ -2028,6 +2028,8 @@ ehci_isoc_fs_done(ehci_softc_t *sc, struct usb2_xfer *xfer)
len = EHCI_SITD_GET_LEN(status);
DPRINTFN(2, "status=0x%08x, rem=%u\n", status, len);
if (*plen >= len) {
len = *plen - len;
} else {
@ -2081,6 +2083,8 @@ ehci_isoc_hs_done(ehci_softc_t *sc, struct usb2_xfer *xfer)
len = EHCI_ITD_GET_LEN(status);
DPRINTFN(2, "status=0x%08x, len=%u\n", status, len);
if (*plen >= len) {
/*
* The length is valid. NOTE: The complete