Changeset 8565a42 in mainline for uspace/drv/bus/usb/ohci/ohci_rh.c
- Timestamp:
- 2018-03-02T20:34:50Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1a81f69, d5e5fd1
- Parents:
- 3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
- git-committer:
- GitHub <noreply@…> (2018-03-02 20:34:50)
- File:
-
- 1 edited
-
uspace/drv/bus/usb/ohci/ohci_rh.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci_rh.c
r3061bc1 r8565a42 409 409 TEST_SIZE_INIT(0, port, hub); 410 410 const unsigned feature = uint16_usb2host(setup_packet->value); 411 411 412 412 switch (feature) { 413 413 case USB_HUB_FEATURE_PORT_POWER: /*8*/ 414 414 { 415 415 const uint32_t rhda = OHCI_RD(hub->registers->rh_desc_a); 416 416 417 417 /* No power switching */ 418 418 if (rhda & RHDA_NPS_FLAG) 419 419 return EOK; 420 420 421 421 /* Ganged power switching, one port powers all */ 422 422 if (!(rhda & RHDA_PSM_FLAG)) {
Note:
See TracChangeset
for help on using the changeset viewer.
