Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/usbhub.h

    r0f21c0c r28cb8bf7  
    4242#define NAME "usbhub"
    4343
    44 #include <usb/hub.h>
    45 
    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 
     44/** basic information about device attached to hub */
     45typedef struct{
     46        usb_address_t address;
     47        devman_handle_t devman_handle;
     48}usb_hub_attached_device_t;
    5549
    5650/** Information about attached hub. */
     
    5852        /** Number of ports. */
    5953        int port_count;
    60         /** attached device handles, for each port one */
    61         usb_hc_attached_device_t * attached_devs;
    62         /** General usb device info. */
    63         //usb_hcd_attached_device_info_t * usb_device;
     54        /** attached device handles */
     55        usb_hub_attached_device_t * attached_devs;
     56        /** USB address of the hub. */
     57        usb_address_t address;
    6458        /** General device info*/
    6559        device_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;
    7360} usb_hub_info_t;
    7461
Note: See TracChangeset for help on using the changeset viewer.