diff options
| author | Damien George <damien.p.george@gmail.com> | 2016-12-02 16:37:29 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-12-02 16:37:29 +1100 |
| commit | 304cfda8c466920b1d29903bfca8bca5ed110f3b (patch) | |
| tree | 1a6e2aec1e3da97d6e50512c4923a404087bd932 /stmhal/pybioctl.h | |
| parent | 6194336d81e73e74eb7e0f26501966082ce4d411 (diff) | |
py/stream: Move ad-hoc ioctl constants to stream.h and rename them.
The constants MP_IOCTL_POLL_xxx, which were stmhal-specific, are moved
from stmhal/pybioctl.h (now deleted) to py/stream.h. And they are renamed
to MP_STREAM_POLL_xxx to be consistent with other such constants.
All uses of these constants have been updated.
Diffstat (limited to 'stmhal/pybioctl.h')
| -rw-r--r-- | stmhal/pybioctl.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/stmhal/pybioctl.h b/stmhal/pybioctl.h deleted file mode 100644 index b71e04ed5..000000000 --- a/stmhal/pybioctl.h +++ /dev/null @@ -1,8 +0,0 @@ -#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 (0x0004) -#define MP_IOCTL_POLL_ERR (0x0008) -#define MP_IOCTL_POLL_HUP (0x0010) |
