Changeset b5ec347 in mainline for uspace/drv/usbhub/usbhub.h


Ignore:
Timestamp:
2010-12-05T22:32:45Z (13 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7964475, 98d06b8
Parents:
45e9cc6
Message:

various convenience definitions
removing of usb_hcd_hub_info_t from public declarations
usb-side implementation of adding a new device (assign addressand enable port)

File:
1 edited

Legend:

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

    r45e9cc6 rb5ec347  
    3838#define NAME "usbhub"
    3939
     40#include "usb/hcdhubd.h"
     41
     42
     43
     44/** Information about attached hub. */
     45typedef struct {
     46        /** Number of ports. */
     47        int port_count;
     48        /** General device info. */
     49        usb_hcd_attached_device_info_t * device;
     50} usb_hub_info_t;
     51
     52
    4053int usb_add_hub_device(device_t *);
    4154
Note: See TracChangeset for help on using the changeset viewer.