Changeset 92574f4 in mainline for uspace/drv/usbhub/usbhub.h
- Timestamp:
- 2011-02-24T12:03:27Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e7b7ebd5
- Parents:
- 4837092 (diff), a80849c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub.h
r4837092 r92574f4 36 36 #define DRV_USBHUB_USBHUB_H 37 37 38 #include <ipc/devman.h> 39 #include <usb/usb.h> 40 #include <ddf/driver.h> 41 38 42 #define NAME "usbhub" 39 43 40 #include "usb/hcdhubd.h"44 #include <usb/hub.h> 41 45 42 /** basic information about device attached to hub */ 43 typedef struct{ 44 usb_address_t address; 45 devman_handle_t devman_handle; 46 }usb_hub_attached_device_t; 46 #include <usb/pipes.h> 47 48 /* Hub endpoints. */ 49 typedef struct { 50 usb_endpoint_pipe_t control; 51 usb_endpoint_pipe_t status_change; 52 } usb_hub_endpoints_t; 53 54 47 55 48 56 /** Information about attached hub. */ … … 50 58 /** Number of ports. */ 51 59 int port_count; 52 /** attached device handles */53 usb_h ub_attached_device_t * attached_devs;60 /** attached device handles, for each port one */ 61 usb_hc_attached_device_t * attached_devs; 54 62 /** General usb device info. */ 55 usb_hcd_attached_device_info_t * usb_device;63 //usb_hcd_attached_device_info_t * usb_device; 56 64 /** General device info*/ 57 device_t * device; 58 65 ddf_dev_t * device; 66 /** connection to hcd */ 67 //usb_device_connection_t connection; 68 usb_hc_connection_t connection; 69 /** */ 70 usb_device_connection_t device_connection; 71 /** hub endpoints */ 72 usb_hub_endpoints_t endpoints; 59 73 } usb_hub_info_t; 60 74 … … 70 84 * @return Error code. 71 85 */ 72 int usb_add_hub_device(d evice_t *dev);86 int usb_add_hub_device(ddf_dev_t *dev); 73 87 74 88 /**
Note:
See TracChangeset
for help on using the changeset viewer.