summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/pybioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/pybioctl.h')
-rw-r--r--stmhal/pybioctl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/stmhal/pybioctl.h b/stmhal/pybioctl.h
index 79f994b8b6..b71e04ed5d 100644
--- a/stmhal/pybioctl.h
+++ b/stmhal/pybioctl.h
@@ -1,6 +1,8 @@
#define MP_IOCTL_POLL (0x100 | 1)
+// These values are compatible with Linux, which are in turn
+// compatible with iBCS2 spec.
#define MP_IOCTL_POLL_RD (0x0001)
-#define MP_IOCTL_POLL_WR (0x0002)
-#define MP_IOCTL_POLL_HUP (0x0004)
+#define MP_IOCTL_POLL_WR (0x0004)
#define MP_IOCTL_POLL_ERR (0x0008)
+#define MP_IOCTL_POLL_HUP (0x0010)