summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-12-18 01:20:18 +0000
committerjulian <julian@FreeBSD.org>2004-12-18 01:20:18 +0000
commitdbd1bd5be73295999158c6ba8e48bbb32bc1777d (patch)
tree62bbcb179be2cdfe75be3b671e45de2ed81269a8 /sys
parentfc0ef2974e3e8c05a57d77ea20d8ed0553394c9f (diff)
downloadFreeBSD-src-dbd1bd5be73295999158c6ba8e48bbb32bc1777d.zip
FreeBSD-src-dbd1bd5be73295999158c6ba8e48bbb32bc1777d.tar.gz
Slight change to formatting so that 'ctags' doesn't
give up on teh file half way through.. Might have been my mistake earlier anyhow. No actual code change MFC after: 5 days
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/ehci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 25b1135..23217fa 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 -
OpenPOWER on IntegriCloud