Changeset 486f479 in mainline
- Timestamp:
- 2014-01-22T19:28:46Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ff59981
- Parents:
- 82a639cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/ehci_rh.c
r82a639cd r486f479 275 275 (((reg & USB_PORTSC_LINE_STATUS_MASK) == USB_PORTSC_LINE_STATUS_K) ? 276 276 (1 << USB_HUB_FEATURE_PORT_LOW_SPEED) : 0) | 277 EHCI2USB(reg, USB_PORTSC_PORT_OWNER_FLAG, USB_HUB_FEATURE_PORT_HIGH_SPEED) |277 ((reg & USB_PORTSC_PORT_OWNER_FLAG) ? 0 : (1 << USB_HUB_FEATURE_PORT_HIGH_SPEED)) | 278 278 EHCI2USB(reg, USB_PORTSC_PORT_TEST_MASK, 11) | 279 279 EHCI2USB(reg, USB_PORTSC_INDICATOR_MASK, 12) | … … 396 396 if (!(EHCI_RD(hub->registers->portsc[port]) & 397 397 USB_PORTSC_ENABLED_FLAG)) { 398 EHCI_ CLR(hub->registers->portsc[port],398 EHCI_SET(hub->registers->portsc[port], 399 399 USB_PORTSC_PORT_OWNER_FLAG); 400 400 } else { … … 443 443 (status & USB_PORTSC_LINE_STATUS_MASK) == 444 444 USB_PORTSC_LINE_STATUS_K) 445 EHCI_ CLR(hub->registers->portsc[port],445 EHCI_SET(hub->registers->portsc[port], 446 446 USB_PORTSC_PORT_OWNER_FLAG); 447 447 else
Note:
See TracChangeset
for help on using the changeset viewer.