From: David van Moolenbroek Date: Sat, 14 Sep 2013 12:43:53 +0000 (+0200) Subject: Straighten ioctl.h X-Git-Tag: v3.3.0~570 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=1760f1c71719af9c56d5af2bf79ca528c6835b6a;p=minix.git 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 --- diff --git a/include/sys/ioc_fbd.h b/include/sys/ioc_fbd.h index da7266798..1aea7481f 100644 --- a/include/sys/ioc_fbd.h +++ b/include/sys/ioc_fbd.h @@ -59,8 +59,8 @@ enum { }; /* The I/O control requests. */ -#define FBDCADDRULE _IOW('F', 1, struct fbd_rule) /* add a rule */ -#define FBDCDELRULE _IOW('F', 2, fbd_rulenum_t) /* delete a rule */ -#define FBDCGETRULE _IORW('F', 3, struct fbd_rule) /* retrieve a rule */ +#define FBDCADDRULE _IOW('B', 1, struct fbd_rule) /* add a rule */ +#define FBDCDELRULE _IOW('B', 2, fbd_rulenum_t) /* delete a rule */ +#define FBDCGETRULE _IORW('B', 3, struct fbd_rule) /* retrieve a rule */ #endif /* _S_I_FBD_H */ diff --git a/sys/sys/ioctl.h b/sys/sys/ioctl.h index dc5666f33..ddd097926 100644 --- a/sys/sys/ioctl.h +++ b/sys/sys/ioctl.h @@ -20,7 +20,9 @@ #include /* 'm' */ #include /* 'M' */ #include /* 's' */ -#include /* 'F' */ +#include /* 'b' */ +#include /* 'B' */ +#include /* 'V' */ #if defined(_NETBSD_SOURCE) #define TIOCDRAIN TCDRAIN