From dbd1bd5be73295999158c6ba8e48bbb32bc1777d Mon Sep 17 00:00:00 2001 From: julian Date: Sat, 18 Dec 2004 01:20:18 +0000 Subject: 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(-) (limited to 'sys') 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 - -- cgit v1.1