summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/udl.c
diff options
context:
space:
mode:
authormglocker <mglocker@openbsd.org>2009-09-21 07:41:18 +0000
committermglocker <mglocker@openbsd.org>2009-09-21 07:41:18 +0000
commit19a86cbab63825f74127f5d0f49aab52d0d5a703 (patch)
treece264ecbda06cb8ce93863c208cedbf805b1db76 /sys/dev/usb/udl.c
parentDrop tiny union from option struct. (diff)
downloadwireguard-openbsd-19a86cbab63825f74127f5d0f49aab52d0d5a703.tar.xz
wireguard-openbsd-19a86cbab63825f74127f5d0f49aab52d0d5a703.zip
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.c')
-rw-r--r--sys/dev/usb/udl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c
index d26edf13fbe..799a382906f 100644
--- a/sys/dev/usb/udl.c
+++ b/sys/dev/usb/udl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udl.c,v 1.49 2009/09/20 11:24:02 mglocker Exp $ */
+/* $OpenBSD: udl.c,v 1.50 2009/09/21 07:41:18 mglocker Exp $ */
/*
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
@@ -45,6 +45,7 @@
#include <dev/rasops/rasops.h>
#include <dev/usb/udl.h>
+#include <dev/usb/udlio.h>
/*
* Defines.