WIP FPC-III support
[linux/fpc-iii.git] / arch / mips / include / uapi / asm / ioctl.h
blob1050a6ea211ccca029792df79218ba65e8c4443c
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
7 * Copyright (C) 1995, 96, 99, 2001 Ralf Baechle <ralf@linux-mips.org>
8 * Copyright (C) 2009 Wind River Systems
9 * Written by Ralf Baechle <ralf@linux-mips.org>
11 #ifndef __ASM_IOCTL_H
12 #define __ASM_IOCTL_H
14 #define _IOC_SIZEBITS 13
15 #define _IOC_DIRBITS 3
18 * Direction bits _IOC_NONE could be 0, but OSF/1 gives it a bit.
19 * And this turns out useful to catch old ioctl numbers in header
20 * files for us.
22 #define _IOC_NONE 1U
23 #define _IOC_READ 2U
24 #define _IOC_WRITE 4U
26 #include <asm-generic/ioctl.h>
28 #endif /* __ASM_IOCTL_H */