Straighten ioctl.h
- include all ioctl subheaders, properly listing all letters; - change FBD's ioctl calls to use 'B' instead of 'F', in preparation of the VND driver. Change-Id: Ia718979568cc057f47cf505a89238d5b3b6695d4
This commit is contained in:
parent
b48542d914
commit
1760f1c717
2 changed files with 6 additions and 4 deletions
|
@ -59,8 +59,8 @@ enum {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* The I/O control requests. */
|
/* The I/O control requests. */
|
||||||
#define FBDCADDRULE _IOW('F', 1, struct fbd_rule) /* add a rule */
|
#define FBDCADDRULE _IOW('B', 1, struct fbd_rule) /* add a rule */
|
||||||
#define FBDCDELRULE _IOW('F', 2, fbd_rulenum_t) /* delete a rule */
|
#define FBDCDELRULE _IOW('B', 2, fbd_rulenum_t) /* delete a rule */
|
||||||
#define FBDCGETRULE _IORW('F', 3, struct fbd_rule) /* retrieve a rule */
|
#define FBDCGETRULE _IORW('B', 3, struct fbd_rule) /* retrieve a rule */
|
||||||
|
|
||||||
#endif /* _S_I_FBD_H */
|
#endif /* _S_I_FBD_H */
|
||||||
|
|
|
@ -20,7 +20,9 @@
|
||||||
#include <sys/ioc_memory.h> /* 'm' */
|
#include <sys/ioc_memory.h> /* 'm' */
|
||||||
#include <sys/ioc_tape.h> /* 'M' */
|
#include <sys/ioc_tape.h> /* 'M' */
|
||||||
#include <sys/ioc_sound.h> /* 's' */
|
#include <sys/ioc_sound.h> /* 's' */
|
||||||
#include <sys/ioc_fb.h> /* 'F' */
|
#include <sys/ioc_block.h> /* 'b' */
|
||||||
|
#include <sys/ioc_fbd.h> /* 'B' */
|
||||||
|
#include <sys/ioc_fb.h> /* 'V' */
|
||||||
|
|
||||||
#if defined(_NETBSD_SOURCE)
|
#if defined(_NETBSD_SOURCE)
|
||||||
#define TIOCDRAIN TCDRAIN
|
#define TIOCDRAIN TCDRAIN
|
||||||
|
|
Loading…
Reference in a new issue