aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/filio.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-03-08 21:32:19 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-03-08 21:32:19 +0000
commitd65030e5339321576f91894ee133bf0345a948a9 (patch)
tree7f2be41040680c961d0512835fa27ca37c1822d0 /sys/sys/filio.h
parentf5af7353c0a91fe2e14e72b9193b2c10ae96c043 (diff)
downloadsrc-d65030e5339321576f91894ee133bf0345a948a9.tar.gz
src-d65030e5339321576f91894ee133bf0345a948a9.zip
Add ioctl to ask DEVFS about the name of device.
Notes
Notes: svn path=/head/; revision=143304
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 17cad5c271f7..8f2731a4e3fc 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_ */