[BACK]Return to ehci.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / usb

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/usb/ehci.c between version 1.234.2.35 and 1.234.2.36

version 1.234.2.35, 2015/03/02 21:52:02 version 1.234.2.36, 2015/03/02 22:16:38
Line 2767  ehci_alloc_sqtd_chain(struct ehci_pipe *
Line 2767  ehci_alloc_sqtd_chain(struct ehci_pipe *
         int len, curlen, mps;          int len, curlen, mps;
         int i, tog;          int i, tog;
         int pages, pageoffs;          int pages, pageoffs;
         bus_size_t curoffs;          size_t curoffs;
         vaddr_t va, va_offs;          vaddr_t va, va_offs;
         usb_dma_t *dma = &xfer->ux_dmabuf;          usb_dma_t *dma = &xfer->ux_dmabuf;
         uint16_t flags = xfer->ux_flags;          uint16_t flags = xfer->ux_flags;
Line 2814  ehci_alloc_sqtd_chain(struct ehci_pipe *
Line 2814  ehci_alloc_sqtd_chain(struct ehci_pipe *
                         KASSERT(curlen != 0);                          KASSERT(curlen != 0);
                 }                  }
                 USBHIST_LOG(ehcidebug, "len=%d curlen=%d curoffs=%zu",                  USBHIST_LOG(ehcidebug, "len=%d curlen=%d curoffs=%zu",
                         len, curlen, (size_t)curoffs, 0);                          len, curlen, curoffs, 0);
   
                 /*                  /*
                  * Allocate another transfer if there's more data left,                   * Allocate another transfer if there's more data left,
Line 2857  ehci_alloc_sqtd_chain(struct ehci_pipe *
Line 2857  ehci_alloc_sqtd_chain(struct ehci_pipe *
                 cur->len = curlen;                  cur->len = curlen;
   
                 USBHIST_LOG(ehcidebug, "cbp=0x%08zx end=0x%08zx",                  USBHIST_LOG(ehcidebug, "cbp=0x%08zx end=0x%08zx",
                     (size_t)curoffs, (size_t)(curoffs + curlen), 0, 0);                      curoffs, curoffs + curlen, 0, 0);
   
                 /*                  /*
                  * adjust the toggle based on the number of packets in this                   * adjust the toggle based on the number of packets in this

Legend:
Removed from v.1.234.2.35  
changed lines
  Added in v.1.234.2.36

CVSweb <webmaster@jp.NetBSD.org>