Changeset 7c3fb9b in mainline for uspace/drv/bus/usb/ehci/ehci_batch.c


Ignore:
Timestamp:
2018-05-17T08:29:01Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

File:
1 edited

Legend:

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

    rfac0ac7 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.