Changeset 8e7c9fe in mainline for uspace/drv/bus/usb/usbmast/main.c
- Timestamp:
- 2014-09-12T03:45:25Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c53b58e
- Parents:
- 3eb0c85 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmast/main.c
r3eb0c85 r8e7c9fe 82 82 static int usbmast_bd_close(bd_srv_t *); 83 83 static int usbmast_bd_read_blocks(bd_srv_t *, aoff64_t, size_t, void *, size_t); 84 static int usbmast_bd_sync_cache(bd_srv_t *, aoff64_t, size_t); 84 85 static int usbmast_bd_write_blocks(bd_srv_t *, aoff64_t, size_t, const void *, size_t); 85 86 static int usbmast_bd_get_block_size(bd_srv_t *, size_t *); … … 90 91 .close = usbmast_bd_close, 91 92 .read_blocks = usbmast_bd_read_blocks, 93 .sync_cache = usbmast_bd_sync_cache, 92 94 .write_blocks = usbmast_bd_write_blocks, 93 95 .get_block_size = usbmast_bd_get_block_size, … … 344 346 } 345 347 348 /** Synchronize blocks to nonvolatile storage. */ 349 static int usbmast_bd_sync_cache(bd_srv_t *bd, uint64_t ba, size_t cnt) 350 { 351 usbmast_fun_t *mfun = bd_srv_usbmast(bd); 352 353 return usbmast_sync_cache(mfun, ba, cnt); 354 } 355 346 356 /** Write blocks to the device. */ 347 357 static int usbmast_bd_write_blocks(bd_srv_t *bd, uint64_t ba, size_t cnt,
Note:
See TracChangeset
for help on using the changeset viewer.