Changes in uspace/drv/usbhub/usbhub.h [28cb8bf7:d81ef61c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub.h
r28cb8bf7 rd81ef61c 36 36 #define DRV_USBHUB_USBHUB_H 37 37 38 #include <ipc/devman.h> 39 #include <usb/usb.h> 40 #include <driver.h> 38 #define NAME "usbhub" 41 39 42 #define NAME "usbhub" 40 #include "usb/hcdhubd.h" 41 42 #include <usb/pipes.h> 43 43 44 44 /** basic information about device attached to hub */ … … 48 48 }usb_hub_attached_device_t; 49 49 50 /* Hub endpoints. */ 51 typedef struct { 52 usb_endpoint_pipe_t control; 53 usb_endpoint_pipe_t status_change; 54 } usb_hub_endpoints_t; 55 56 57 50 58 /** Information about attached hub. */ 51 59 typedef struct { 52 60 /** Number of ports. */ 53 61 int port_count; 54 /** attached device handles */62 /** attached device handles, for each port one */ 55 63 usb_hub_attached_device_t * attached_devs; 56 /** USB address of the hub. */57 usb_ address_t address;64 /** General usb device info. */ 65 usb_hcd_attached_device_info_t * usb_device; 58 66 /** General device info*/ 59 67 device_t * device; 68 /** connection to hcd */ 69 usb_device_connection_t connection; 70 /** hub endpoints */ 71 usb_hub_endpoints_t endpoints; 72 60 73 } usb_hub_info_t; 61 74
Note:
See TracChangeset
for help on using the changeset viewer.