summaryrefslogtreecommitdiff
path: root/sys/dev/usb/udl.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2009-05-31 18:26:45 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2009-05-31 18:26:45 +0000
commit9e549b6118ce4a33059dc512ba3b70a21f384d5a (patch)
tree73c805460d31abb747a8693a6e666ff834a59b4e /sys/dev/usb/udl.h
parent691ba91908819839d254240fc215605a6cd4fd04 (diff)
We are able to address 256 pixels (16bit) per command not just 128 pixels.
This safes us some protocol overhead, especially when bit blittering large regions.
Diffstat (limited to 'sys/dev/usb/udl.h')
-rw-r--r--sys/dev/usb/udl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/udl.h b/sys/dev/usb/udl.h
index 6287aa83646..084b6017c82 100644
--- a/sys/dev/usb/udl.h
+++ b/sys/dev/usb/udl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: udl.h,v 1.2 2009/05/10 14:53:27 mglocker Exp $ */
+/* $OpenBSD: udl.h,v 1.3 2009/05/31 18:26:44 mglocker Exp $ */
/*
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
@@ -20,7 +20,7 @@
* Bulk command xfer structure.
*/
#define UDL_CMD_MAX_XFER_SIZE 1048576
-#define UDL_CMD_MAX_DATA_SIZE 256
+#define UDL_CMD_MAX_DATA_SIZE 512
#define UDL_CMD_MAX_PIXEL_COUNT (UDL_CMD_MAX_DATA_SIZE / 2)
struct udl_cmd_xfer {