Changes in uspace/drv/bus/usb/usbmast/main.c [dd8b6a8:920d0fc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmast/main.c
rdd8b6a8 r920d0fc 85 85 static int usbmast_bd_close(bd_srv_t *); 86 86 static int usbmast_bd_read_blocks(bd_srv_t *, aoff64_t, size_t, void *, size_t); 87 static int usbmast_bd_sync_cache(bd_srv_t *, aoff64_t, size_t);88 87 static int usbmast_bd_write_blocks(bd_srv_t *, aoff64_t, size_t, const void *, size_t); 89 88 static int usbmast_bd_get_block_size(bd_srv_t *, size_t *); … … 94 93 .close = usbmast_bd_close, 95 94 .read_blocks = usbmast_bd_read_blocks, 96 .sync_cache = usbmast_bd_sync_cache,97 95 .write_blocks = usbmast_bd_write_blocks, 98 96 .get_block_size = usbmast_bd_get_block_size, … … 340 338 } 341 339 342 /** Synchronize blocks to nonvolatile storage. */343 static int usbmast_bd_sync_cache(bd_srv_t *bd, uint64_t ba, size_t cnt)344 {345 usbmast_fun_t *mfun = bd_srv_usbmast(bd);346 347 return usbmast_sync_cache(mfun, ba, cnt);348 }349 350 340 /** Write blocks to the device. */ 351 341 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.