Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset a9ab7f47 in mainline


Ignore:
Timestamp:
2011-05-20T20:23:06Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
96f2aa6
Parents:
04028225
Message:

Add function for resolving USB paths

The great function is called usb_resolve_device_handle() and
accepts full HW path as well as BUS.ADDR specification including
super bombastic hack USB.ADDR/path/to/function.

Location:
uspace/lib/usb
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/Makefile

    r04028225 ra9ab7f47  
    4040        src/dump.c \
    4141        src/hc.c \
     42        src/resolve.c \
    4243        src/usb.c
    4344
  • uspace/lib/usb/include/usb/driver.h

    r04028225 ra9ab7f47  
    3838#include <sys/types.h>
    3939#include <ipc/devman.h>
     40#include <usb/usb.h>
    4041
    4142int usb_hc_find(devman_handle_t, devman_handle_t *);
     43int usb_resolve_device_handle(const char *, devman_handle_t *, usb_address_t *,
     44    devman_handle_t *);
    4245
    4346#endif
Note: See TracChangeset for help on using the changeset viewer.