Changeset 71fa44c in mainline for uspace/drv/bus/usb/usbmast/main.c
- Timestamp:
- 2011-07-03T11:27:37Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9e34750
- Parents:
- 6430ac6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmast/main.c
r6430ac6 r71fa44c 126 126 lun_count); 127 127 128 uint32_t nblocks, block_size; 129 130 rc = usbmast_read_capacity(dev, &nblocks, &block_size); 131 if (rc != EOK) { 132 usb_log_warning("Failed to read capacity, device `%s': %s.\n", 133 dev->ddf_dev->name, str_error(rc)); 134 return EOK; 135 } 136 137 usb_log_info("Read Capacity: nblocks=%" PRIu32 ", " 138 "block_size=%" PRIu32 "\n", nblocks, block_size); 139 128 140 return EOK; 129 141 }
Note:
See TracChangeset
for help on using the changeset viewer.