diff options
author | Damien George <damien.p.george@gmail.com> | 2019-10-29 12:25:30 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-10-29 14:17:29 +1100 |
commit | cfe1c5abf884027eb0a5792d5a980fee8757051a (patch) | |
tree | b590395b2879d3196e4024fa2c400ca0d42e9079 /extmod/vfs.h | |
parent | 7c8fb27f38b06b5067d913e9d57f87005445601b (diff) |
extmod/vfs: Rename BP_IOCTL_xxx constants to MP_BLOCKDEV_IOCTL_xxx.
Also rename SEC_COUNT to BLOCK_COUNT and SEC_SIZE to BLOCK_SIZE.
Diffstat (limited to 'extmod/vfs.h')
-rw-r--r-- | extmod/vfs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extmod/vfs.h b/extmod/vfs.h index 767ba3033..15bd2a5f5 100644 --- a/extmod/vfs.h +++ b/extmod/vfs.h @@ -45,11 +45,11 @@ #define MP_BLOCKDEV_FLAG_NO_FILESYSTEM (0x0008) // the block device has no filesystem on it // constants for block protocol ioctl -#define BP_IOCTL_INIT (1) -#define BP_IOCTL_DEINIT (2) -#define BP_IOCTL_SYNC (3) -#define BP_IOCTL_SEC_COUNT (4) -#define BP_IOCTL_SEC_SIZE (5) +#define MP_BLOCKDEV_IOCTL_INIT (1) +#define MP_BLOCKDEV_IOCTL_DEINIT (2) +#define MP_BLOCKDEV_IOCTL_SYNC (3) +#define MP_BLOCKDEV_IOCTL_BLOCK_COUNT (4) +#define MP_BLOCKDEV_IOCTL_BLOCK_SIZE (5) // At the moment the VFS protocol just has import_stat, but could be extended to other methods typedef struct _mp_vfs_proto_t { |