Changeset 7bd99bf in mainline
- Timestamp:
- 2017-07-14T17:28:06Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c058a388
- Parents:
- 05aeee0e
- Location:
- uspace/drv/bus/usb/xhci
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/Makefile
r05aeee0e r7bd99bf 47 47 scratchpad.c \ 48 48 commands.c \ 49 rh.c \ 49 50 main.c 50 51 -
uspace/drv/bus/usb/xhci/hc.c
r05aeee0e r7bd99bf 40 40 #include "debug.h" 41 41 #include "hc.h" 42 #include "rh.h" 42 43 #include "hw_struct/trb.h" 43 44 #include "commands.h" … … 360 361 static void hc_handle_event(xhci_hc_t *hc, xhci_trb_t *trb) 361 362 { 363 usb_log_debug2("TRB event encountered."); 362 364 switch (TRB_TYPE(*trb)) { 363 365 case XHCI_TRB_TYPE_COMMAND_COMPLETION_EVENT: 364 366 xhci_handle_command_completion(hc, trb); 367 break; 368 case XHCI_TRB_TYPE_PORT_STATUS_CHANGE_EVENT: 369 xhci_handle_port_status_change_event(hc, trb); 365 370 break; 366 371 default: -
uspace/drv/bus/usb/xhci/hw_struct/regs.h
r05aeee0e r7bd99bf 286 286 #define XHCI_PORT_PLS portsc, 32, RANGE, 8, 5 287 287 #define XHCI_PORT_PP portsc, 32, FLAG, 9 288 #define XHCI_PORT_PIC portsc, 32, RANGE, 13, 10 288 #define XHCI_PORT_PS portsc, 32, RANGE, 13, 10 289 #define XHCI_PORT_PIC portsc, 32, RANGE, 15, 14 289 290 #define XHCI_PORT_LWS portsc, 32, FLAG, 16 290 291 #define XHCI_PORT_CSC portsc, 32, FLAG, 17
Note:
See TracChangeset
for help on using the changeset viewer.