Changeset 3100ebe in mainline for uspace/app/usbinfo/info.c
- Timestamp:
- 2011-03-16T10:14:57Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 81ca204
- Parents:
- 2180979
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/info.c
r2180979 r3100ebe 42 42 #include "usbinfo.h" 43 43 44 void dump_short_device_identification(usbinfo_device_t *dev) 45 { 46 printf("%sDevice 0x%04x by vendor 0x%04x\n", get_indent(0), 47 (int) dev->device_descriptor.product_id, 48 (int) dev->device_descriptor.vendor_id); 49 } 50 51 void dump_device_match_ids(usbinfo_device_t *dev) 52 { 53 match_id_list_t matches; 54 init_match_ids(&matches); 55 usb_device_create_match_ids_from_device_descriptor( 56 &dev->device_descriptor, &matches); 57 dump_match_ids(&matches, get_indent(0)); 58 } 59 44 60 int dump_device(devman_handle_t hc_handle, usb_address_t address) 45 61 { … … 92 108 goto leave; 93 109 } 94 dump_match_ids(&match_id_list );110 dump_match_ids(&match_id_list, get_indent(0)); 95 111 96 112 /*
Note:
See TracChangeset
for help on using the changeset viewer.