summaryrefslogtreecommitdiffstats
path: root/sys/sys/filio.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-03-08 21:32:19 +0000
committerphk <phk@FreeBSD.org>2005-03-08 21:32:19 +0000
commit96f2def6d15e238d9954910851df962f7329d6a1 (patch)
tree7f2be41040680c961d0512835fa27ca37c1822d0 /sys/sys/filio.h
parent5493756155aebd45e98e60e97fdaf4874598d119 (diff)
downloadFreeBSD-src-96f2def6d15e238d9954910851df962f7329d6a1.zip
FreeBSD-src-96f2def6d15e238d9954910851df962f7329d6a1.tar.gz
Add ioctl to ask DEVFS about the name of device.
Diffstat (limited to 'sys/sys/filio.h')
-rw-r--r--sys/sys/filio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/filio.h b/sys/sys/filio.h
index 17cad5c..8f2731a 100644
--- a/sys/sys/filio.h
+++ b/sys/sys/filio.h
@@ -50,5 +50,10 @@
#define FIOGETOWN _IOR('f', 123, int) /* get owner */
#define FIODTYPE _IOR('f', 122, int) /* get d_flags type part */
#define FIOGETLBA _IOR('f', 121, int) /* get start blk # */
+struct fiodgname_arg {
+ int len;
+ void *buf;
+};
+#define FIODGNAME _IOW('f', 120, struct fiodgname_arg) /* get dev. name */
#endif /* !_SYS_FILIO_H_ */
OpenPOWER on IntegriCloud