Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbmast/main.c

    r920d0fc rdd8b6a8  
    8585static int usbmast_bd_close(bd_srv_t *);
    8686static int usbmast_bd_read_blocks(bd_srv_t *, aoff64_t, size_t, void *, size_t);
     87static int usbmast_bd_sync_cache(bd_srv_t *, aoff64_t, size_t);
    8788static int usbmast_bd_write_blocks(bd_srv_t *, aoff64_t, size_t, const void *, size_t);
    8889static int usbmast_bd_get_block_size(bd_srv_t *, size_t *);
     
    9394        .close = usbmast_bd_close,
    9495        .read_blocks = usbmast_bd_read_blocks,
     96        .sync_cache = usbmast_bd_sync_cache,
    9597        .write_blocks = usbmast_bd_write_blocks,
    9698        .get_block_size = usbmast_bd_get_block_size,
     
    338340}
    339341
     342/** Synchronize blocks to nonvolatile storage. */
     343static 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
    340350/** Write blocks to the device. */
    341351static 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.