aboutsummaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-02-09 14:28:50 +0000
committerDamien George <damien.p.george@gmail.com>2016-02-10 08:59:31 +0000
commitc33ad60a676d46cb18883beedd6c383d6fae9dd8 (patch)
tree2ac56735b689abc47fb435268ce1e9fdaa7d459c /py/qstrdefs.h
parent3846fd56c150646099d530196fd6ab9a54536a24 (diff)
extmod/fsusermount: Change block protocol to support ioctl method.
The new block protocol is: - readblocks(self, n, buf) - writeblocks(self, n, buf) - ioctl(self, cmd, arg) The new ioctl method handles the old sync and count methods, as well as a new "get sector size" method. The old protocol is still supported, and used if the device doesn't have the ioctl method.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index bf774e036..0a2cc2c8e 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -675,6 +675,7 @@ Q(readonly)
Q(mkfs)
Q(readblocks)
Q(writeblocks)
+Q(ioctl)
Q(sync)
Q(count)
#endif