Changeset 7c3fb9b in mainline for uspace/drv/bus/usb/uhci/uhci_rh.c


Ignore:
Timestamp:
2018-05-17T08:29:01Z (7 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/uhci/uhci_rh.c

    rfac0ac7 r7c3fb9b  
    153153        while ((port_status = pio_read_16(port)) & STATUS_IN_RESET)
    154154                ;
    155         /* PIO delay, should not be longer than 3ms as the device might
    156          * enter suspend state. */
     155        /*
     156         * PIO delay, should not be longer than 3ms as the device might
     157         * enter suspend state.
     158         */
    157159        udelay(10);
    158         /* Drop ConnectionChange as some UHCI hw
    159          * sets this bit after reset, that is incorrect */
     160        /*
     161         * Drop ConnectionChange as some UHCI hw
     162         * sets this bit after reset, that is incorrect
     163         */
    160164        port_status &= ~STATUS_WC_BITS;
    161165        pio_write_16(port, port_status | STATUS_ENABLED | STATUS_CONNECTED_CHANGED);
     
    376380                RH_DEBUG(hub, port, "Set port change flag (status %" PRIx16
    377381                    ")", status);
    378                 /* These are voluntary and don't have to be set
    379                  * there is no way we could do it on UHCI anyway */
     382                /*
     383                 * These are voluntary and don't have to be set
     384                 * there is no way we could do it on UHCI anyway
     385                 */
    380386                break;
    381387        default:
     
    459465                CLASS_REQ_OUT(USB_REQUEST_RECIPIENT_DEVICE, USB_HUB_REQUEST_CLEAR_FEATURE),
    460466                .name = "ClearHubFeature",
    461                 /* Hub features are overcurrent and supply good,
    462                  * this request may only clear changes that we never report*/
     467                /*
     468                 * Hub features are overcurrent and supply good,
     469                 * this request may only clear changes that we never report
     470                 */
    463471                .callback = req_nop,
    464472        },
     
    471479                CLASS_REQ_IN(USB_REQUEST_RECIPIENT_DEVICE, USB_HUB_REQUEST_GET_STATUS),
    472480                .name = "GetHubStatus",
    473                 /* UHCI can't report OC condition or,
    474                  * lose power source */
     481                /*
     482                 * UHCI can't report OC condition or,
     483                 * lose power source
     484                 */
    475485                .callback = virthub_base_get_null_status,
    476486        },
     
    483493                CLASS_REQ_OUT(USB_REQUEST_RECIPIENT_DEVICE, USB_HUB_REQUEST_SET_FEATURE),
    484494                .name = "SetHubFeature",
    485                 /* Hub features are overcurrent and supply good,
    486                  * this request may only set changes that we never report*/
     495                /*
     496                 * Hub features are overcurrent and supply good,
     497                 * this request may only set changes that we never report
     498                 */
    487499                .callback = req_nop,
    488500        },
Note: See TracChangeset for help on using the changeset viewer.