Add debug lines for fullspeed and highspeed xfer completion.
Submitted by: Hans Petter Selasky
This commit is contained in:
parent
3a67e91430
commit
c773c25419
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user