Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 1fd2f81 in mainline


Ignore:
Timestamp:
2017-10-19T20:02:49Z (4 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master
Children:
1a9a72a
Parents:
0f6b50f
Message:

Removed RH setup from XHCI op hooks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/main.c

    r0f6b50f r1fd2f81  
    5151static int hcd_claim(hcd_t *, ddf_dev_t *);
    5252static int hcd_start(hcd_t *, bool);
    53 static int hcd_setup_root_hub(hcd_t *, ddf_dev_t *);
    5453static int hcd_status(hcd_t *, uint32_t *);
    5554static void hcd_interrupt(hcd_t *, uint32_t);
     
    6362        .claim = hcd_claim,
    6463        .start = hcd_start,
    65         .setup_root_hub = hcd_setup_root_hub,
     64        .setup_root_hub = NULL,
    6665        .fini = hc_driver_fini,
    6766        .ops = {
     
    117116
    118117        return hc_start(hc, irq);
    119 }
    120 
    121 static int hcd_setup_root_hub(hcd_t *hcd, ddf_dev_t *dev)
    122 {
    123         xhci_hc_t *hc = hcd_get_driver_data(hcd);
    124         assert(hc);
    125 
    126         return EOK;
    127118}
    128119
Note: See TracChangeset for help on using the changeset viewer.