ioctl.h 718 B

123456789101112131415161718192021222324252627
  1. /*
  2. * This file is subject to the terms and conditions of the GNU General Public
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * Copyright (C) 1995, 96, 99, 2001 Ralf Baechle <ralf@linux-mips.org>
  7. * Copyright (C) 2009 Wind River Systems
  8. * Written by Ralf Baechle <ralf@linux-mips.org>
  9. */
  10. #ifndef __ASM_IOCTL_H
  11. #define __ASM_IOCTL_H
  12. #define _IOC_SIZEBITS 13
  13. #define _IOC_DIRBITS 3
  14. /*
  15. * Direction bits _IOC_NONE could be 0, but OSF/1 gives it a bit.
  16. * And this turns out useful to catch old ioctl numbers in header
  17. * files for us.
  18. */
  19. #define _IOC_NONE 1U
  20. #define _IOC_READ 2U
  21. #define _IOC_WRITE 4U
  22. #include <asm-generic/ioctl.h>
  23. #endif /* __ASM_IOCTL_H */