summaryrefslogtreecommitdiff
path: root/sys/dev/usb/udl.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2009-09-21 07:41:19 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2009-09-21 07:41:19 +0000
commitad745cbbe81832c6a87c8f955dd968cd1988b1e3 (patch)
tree12cffc5bcf426180906b3cac08e7b0815c729bf3 /sys/dev/usb/udl.h
parentbbc2bb8fcbd05be09c44c833dc486fea07cc8450 (diff)
Document a private ioctl range for wscons drivers (from Miod). Therefore
change the UDLIO_DAMAGE ioctl from 0 to 128 and move the ioctl part from udl.h to udlio.h so we can include it in userland applications. Suggested and OK miod@
Diffstat (limited to 'sys/dev/usb/udl.h')
-rw-r--r--sys/dev/usb/udl.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/dev/usb/udl.h b/sys/dev/usb/udl.h
index cd4c66e4be9..c67d5980a40 100644
--- a/sys/dev/usb/udl.h
+++ b/sys/dev/usb/udl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: udl.h,v 1.12 2009/09/20 10:18:20 mglocker Exp $ */
+/* $OpenBSD: udl.h,v 1.13 2009/09/21 07:41:18 mglocker Exp $ */
/*
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
@@ -103,20 +103,6 @@ struct udl_softc {
};
/*
- * udl IOCTLs.
- */
-struct udl_ioctl_damage {
- int x1;
- int x2;
- int y1;
- int y2;
-#define UDLIO_STATUS_OK 0
-#define UDLIO_STATUS_FAILED 1
- int status;
-};
-#define UDLIO_DAMAGE _IOWR('W', 0, struct udl_ioctl_damage)
-
-/*
* Chip commands.
*/
#define UDL_CTRL_CMD_READ_EDID 0x02