diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2004-12-18 01:20:18 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2004-12-18 01:20:18 +0000 |
| commit | 53d4f8518a8eafe11f3599fbcf89f33c4c7facb0 (patch) | |
| tree | 62bbcb179be2cdfe75be3b671e45de2ed81269a8 | |
| parent | 26f67c9caeda8cb513c46dac184d6941a3d4e6ef (diff) | |
Notes
| -rw-r--r-- | sys/dev/usb/ehci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index 25b1135e4e90..23217fa0df36 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -2332,6 +2332,7 @@ printf("status=%08x toggle=%d\n", epipe->sqh->qh.qh_qtd.qtd_status, EHCI_QTD_NBUFFERS * EHCI_PAGE_SIZE) { /* we can handle it in this QTD */ curlen = len; + } #elif defined(__FreeBSD__) /* XXX This is pretty broken: Because we do not allocate * a contiguous buffer (contiguous in physical pages) we @@ -2341,8 +2342,9 @@ printf("status=%08x toggle=%d\n", epipe->sqh->qh.qh_qtd.qtd_status, */ if (dataphyspage == dataphyslastpage) { curlen = len; + } #endif - } else { + else { #if defined(__NetBSD__) || defined(__OpenBSD__) /* must use multiple TDs, fill as much as possible. */ curlen = EHCI_QTD_NBUFFERS * EHCI_PAGE_SIZE - |
