Ignore:
File:
1 edited

Legend:

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

    r10096231 r4c74ac3  
    4646        /** Number of ports. */
    4747        int port_count;
    48         /** General device info. */
    49         usb_hcd_attached_device_info_t * device;
     48        /** General usb device info. */
     49        usb_hcd_attached_device_info_t * usb_device;
     50        /** General device info*/
     51        device_t * device;
     52
    5053} usb_hub_info_t;
    5154
    52 int usb_add_hub_device(device_t *);
     55/**
     56 * function running the hub-controlling loop.
     57 * @param noparam fundtion does not need any parameters
     58 */
     59int usb_hub_control_loop(void * noparam);
     60
     61/** Callback when new hub device is detected.
     62 *
     63 * @param dev New device.
     64 * @return Error code.
     65 */
     66int usb_add_hub_device(device_t *dev);
     67
     68/**
     69 * check changes on all registered hubs
     70 */
     71void usb_hub_check_hub_changes(void);
     72
     73
     74//int usb_add_hub_device(device_t *);
     75
     76
    5377
    5478#endif
Note: See TracChangeset for help on using the changeset viewer.