[Zrouter-src-freebsd] ZRouter.org: push to FreeBSD HEAD tree
zrouter-src-freebsd at zrouter.org
zrouter-src-freebsd at zrouter.org
Tue Feb 28 11:41:35 UTC 2012
details: http://zrouter.org/hg/FreeBSD/head//rev/c9cca5f46db8
changeset: 344:c9cca5f46db8
user: ray at terran.dlink.ua
date: Tue Feb 28 13:41:49 2012 +0200
description:
Add more IOCTL for device controls.
diffstat:
head/sys/sys/bus.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 71a12368a33d -r c9cca5f46db8 head/sys/sys/bus.h
--- a/head/sys/sys/bus.h Tue Feb 28 13:40:57 2012 +0200
+++ b/head/sys/sys/bus.h Tue Feb 28 13:41:49 2012 +0200
@@ -85,7 +85,10 @@
#define DEVCTLADEV _IOW('D', 1, struct devctl_attach_args) /* attach device to bus */
#define DEVCTLAHDEV _IOW('D', 2, struct devctl_attach_args) /* attach hinted device to bus */
-#define DEVCTLDDEV _IOW('D', 3, struct devctl_attach_args) /* detach device from bus */
+#define DEVCTLDDEV _IOW('D', 3, struct devctl_attach_args) /* detach device */
+#define DEVCTLSUSDEV _IOW('D', 4, struct devctl_attach_args) /* suspend device */
+#define DEVCTLRSMDEV _IOW('D', 5, struct devctl_attach_args) /* resume device */
+#define DEVCTLSHTDEV _IOW('D', 6, struct devctl_attach_args) /* shutdown device */
#endif
More information about the Zrouter-src-freebsd
mailing list