Changeset 0feaae4 in mainline for uspace/drv/bus/usb/usbmast/main.c
- Timestamp:
- 2011-07-02T17:21:50Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 239e7e10
- Parents:
- 2429e4a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmast/main.c
r2429e4a r0feaae4 41 41 #include <str_error.h> 42 42 #include "cmds.h" 43 #include "scsi.h"44 43 #include "mast.h" 45 44 … … 107 106 (size_t) dev->pipes[BULK_OUT_EP].descriptor->max_packet_size); 108 107 108 /* usb_log_debug("Get LUN count...\n"); 109 109 size_t lun_count = usb_masstor_get_lun_count(dev); 110 110 */ size_t lun_count=1; 111 usb_log_debug("Inquire...\n"); 111 112 usb_massstor_inquiry_result_t inquiry; 112 113 rc = usb_massstor_inquiry(dev, BULK_IN_EP, BULK_OUT_EP, &inquiry); 113 114 if (rc != EOK) { 114 usb_log_warning("Failed to inquir ydevice `%s': %s.\n",115 usb_log_warning("Failed to inquire device `%s': %s.\n", 115 116 dev->ddf_dev->name, str_error(rc)); 116 117 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.