Changeset 20eaa82 in mainline for uspace/drv/bus/usb/xhci/rh.h
- Timestamp:
- 2017-10-15T13:44:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2770b66
- Parents:
- 867b375
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/rh.h
r867b375 r20eaa82 38 38 39 39 #include <usb/host/usb_transfer_batch.h> 40 #include <usb/host/bus.h> 40 41 #include "hw_struct/regs.h" 41 42 42 43 typedef struct xhci_hc xhci_hc_t; 44 typedef struct ddf_dev ddf_dev_t; 43 45 44 46 /** … … 58 60 xhci_hc_t *hc; 59 61 62 /* Root for the device tree */ 63 device_t device; 64 65 /* We need this to attach children to */ 66 ddf_dev_t *hc_device; 67 60 68 /** Port speeds reported from HC */ 61 69 xhci_port_speed_t speeds [16]; … … 66 74 /* Number of hub ports. */ 67 75 uint8_t max_ports; 68 69 /* We need this to create child devices */70 hcd_roothub_t *hcd_rh;71 76 } xhci_rh_t; 72 77 … … 79 84 void xhci_rh_handle_port_change(xhci_rh_t *); 80 85 81 int xhci_rh_address_device(xhci_rh_t * , usb_speed_t, usb_tt_address_t, usb_address_t *);86 int xhci_rh_address_device(xhci_rh_t *rh, device_t *dev); 82 87 83 88 #endif
Note:
See TracChangeset
for help on using the changeset viewer.