#ifndef __LUNAIX_SYS_IOCTL_DEFS_H
#define __LUNAIX_SYS_IOCTL_DEFS_H
-#define IOREQ(cmd, arg_num) ((((cmd)&0xffff) << 8) | ((arg_num)&0xff))
+#define IOREQ(cmd, arg_num) ((((cmd) & 0xffff) << 8) | ((arg_num) & 0xff))
#define IOCMD(req) ((req) >> 8)
-#define IOARGNUM(req) ((req)&0xff)
+#define IOARGNUM(req) ((req) & 0xff)
+
+#define DEVIOIDENT IOREQ(-1, 1)
#define TIOCGPGRP IOREQ(1, 0)
#define TIOCSPGRP IOREQ(1, 1)