Changes in / [0c05496:e7b9541] in mainline


Ignore:
Location:
uspace
Files:
2 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/usbinfo/dump.c

    r0c05496 re7b9541  
    6969}
    7070
    71 void dump_match_ids(match_id_list_t *matches)
    72 {
    73         printf("Match ids:\n");
    74         link_t *link;
    75         for (link = matches->ids.next;
    76             link != &matches->ids;
    77             link = link->next) {
    78                 match_id_t *match = list_get_instance(link, match_id_t, link);
    79 
    80                 printf(INDENT "%d %s\n", match->score, match->id);
    81         }
    82 }
    83 
    8471void dump_standard_device_descriptor(usb_standard_device_descriptor_t *d)
    8572{
  • uspace/app/usbinfo/main.c

    r0c05496 re7b9541  
    112112
    113113        /*
    114          * Dump information about possible match ids.
    115          */
    116         match_id_list_t match_id_list;
    117         init_match_ids(&match_id_list);
    118         rc = usb_drv_create_device_match_ids(hc_phone, &match_id_list, address);
    119         if (rc != EOK) {
    120                 fprintf(stderr,
    121                     NAME ": failed to fetch match ids of the device: %s.\n",
    122                     str_error(rc));
    123                 return rc;
    124         }
    125         dump_match_ids(&match_id_list);
    126 
    127         /*
    128114         * Get device descriptor and dump it.
    129115         */
  • uspace/app/usbinfo/usbinfo.h

    r0c05496 re7b9541  
    3939#include <usb/descriptor.h>
    4040#include <usb/debug.h>
    41 #include <ipc/devman.h>
    4241
    4342
     
    4544
    4645void dump_buffer(const char *, const uint8_t *, size_t);
    47 void dump_match_ids(match_id_list_t *matches);
    4846void dump_standard_device_descriptor(usb_standard_device_descriptor_t *);
    4947void dump_standard_configuration_descriptor(int,
  • uspace/lib/usb/Makefile

    r0c05496 re7b9541  
    3434SOURCES = \
    3535        src/addrkeep.c \
    36         src/class.c \
    3736        src/debug.c \
    3837        src/drvpsync.c \
     
    4140        src/hidparser.c \
    4241        src/localdrv.c \
    43         src/recognise.c \
    4442        src/remotedrv.c \
    4543        src/usb.c \
  • uspace/lib/usb/include/usb/classes/classes.h

    r0c05496 re7b9541  
    6060} usb_class_t;
    6161
    62 const char *usb_str_class(usb_class_t);
    6362
    6463#endif
  • uspace/lib/usb/include/usb/usbdrv.h

    r0c05496 re7b9541  
    9494int usb_drv_async_wait_for(usb_handle_t);
    9595
    96 int usb_drv_create_device_match_ids(int, match_id_list_t *, usb_address_t);
    97 int usb_drv_register_child_in_devman(int, device_t *, usb_address_t,
    98     devman_handle_t *);
    99 
    10096
    10197#endif
Note: See TracChangeset for help on using the changeset viewer.