From 53d4f8518a8eafe11f3599fbcf89f33c4c7facb0 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Sat, 18 Dec 2004 01:20:18 +0000 Subject: [PATCH] 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 --- sys/dev/usb/ehci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index 25b1135e4e9..23217fa0df3 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 -