Changeset 7c3fb9b in mainline for uspace/drv/bus/usb/ehci/ehci_rh.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_rh.c

    rfac0ac7 r7c3fb9b  
    7272        instance->hub_descriptor.header.descriptor_type = USB_DESCTYPE_HUB;
    7373        instance->hub_descriptor.header.port_count = instance->port_count;
    74         /* Bits 0,1 indicate power switching mode
     74        /*
     75         * Bits 0,1 indicate power switching mode
    7576         * Bit 2 indicates device type (compound device)
    76          * Bits 3,4 indicate over-current protection mode */
     77         * Bits 3,4 indicate over-current protection mode
     78         */
    7779        instance->hub_descriptor.header.characteristics = 0 |
    7880            ((hcs & EHCI_CAPS_HCS_PPC_FLAG) ? 0x09 : 0x12) |
     
    313315            EHCI2USB(reg, USB_PORTSC_OC_CHANGE_FLAG, USB_HUB_PORT_STATUS_C_OC) |
    314316            (hub->reset_flag[port] ? USB_HUB_PORT_STATUS_C_RESET : 0));
    315         /* Note feature numbers for test and indicator feature do not
    316          * correspond to the port status bit locations */
     317        /*
     318         * Note feature numbers for test and indicator feature do not
     319         * correspond to the port status bit locations
     320         */
    317321        usb_log_debug2("RH(%p-%u) port status: %" PRIx32 "(%" PRIx32 ")", hub, port,
    318322            status, reg);
     
    340344        }
    341345        usb_log_debug("RH(%p-%u): Reset complete", job->hub, job->port);
    342         /* Handle port ownership, if the port is not enabled
    343          * after reset it's a full speed device */
     346        /*
     347         * Handle port ownership, if the port is not enabled
     348         * after reset it's a full speed device
     349         */
    344350        if (!(EHCI_RD(job->hub->registers->portsc[job->port]) &
    345351            USB_PORTSC_ENABLED_FLAG)) {
Note: See TracChangeset for help on using the changeset viewer.