Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/ehci_batch.c

    r3bacee1 r7c3fb9b  
    4747#include "ehci_bus.h"
    4848
    49 /* The buffer pointer list in the qTD is long enough to support a maximum
     49/*
     50 * The buffer pointer list in the qTD is long enough to support a maximum
    5051 * transfer size of 20K bytes. This case occurs when all five buffer pointers
    5152 * are used and the first offset is zero. A qTD handles a 16Kbyte buffer
    52  * with any starting buffer alignment. EHCI specs p. 87 (pdf p. 97) */
     53 * with any starting buffer alignment. EHCI specs p. 87 (pdf p. 97)
     54 */
    5355#define EHCI_TD_MAX_TRANSFER   (16 * 1024)
    5456
     
    177179                return false;
    178180
    179         /* Now we may be sure that either the ED is inactive because of errors
    180          * or all transfer descriptors completed successfully */
     181        /*
     182         * Now we may be sure that either the ED is inactive because of errors
     183         * or all transfer descriptors completed successfully
     184         */
    181185
    182186        /* Assume all data got through */
     
    192196                ehci_batch->base.error = td_error(&ehci_batch->tds[i]);
    193197                if (ehci_batch->base.error == EOK) {
    194                         /* If the TD got all its data through, it will report
     198                        /*
     199                         * If the TD got all its data through, it will report
    195200                         * 0 bytes remain, the sole exception is INPUT with
    196201                         * data rounding flag (short), i.e. every INPUT.
Note: See TracChangeset for help on using the changeset viewer.