Author: hselasky
Date: Mon Feb 16 15:47:55 2015
New Revision: 278853
URL: https://svnweb.freebsd.org/changeset/base/278853

Log:
  Reduce number of memory buffers a bit.

Modified:
  head/sys/dev/usb/video/udl.h

Modified: head/sys/dev/usb/video/udl.h
==============================================================================
--- head/sys/dev/usb/video/udl.h        Mon Feb 16 15:46:16 2015        
(r278852)
+++ head/sys/dev/usb/video/udl.h        Mon Feb 16 15:47:55 2015        
(r278853)
@@ -30,7 +30,7 @@
 #define        UDL_CMD_MAX_DATA_SIZE   512     /* bytes */
 #define        UDL_CMD_MAX_HEAD_SIZE   16      /* bytes */
 #define        UDL_CMD_MAX_PIXEL_COUNT ((UDL_CMD_MAX_DATA_SIZE - 
UDL_CMD_MAX_HEAD_SIZE) / 2)
-#define        UDL_CMD_MAX_BUFFERS     2048    /* units */
+#define        UDL_CMD_MAX_BUFFERS     (3 * UDL_CMD_MAX_FRAMES)
 #define        UDL_FONT_HEIGHT         16      /* pixels */
 #define        UDL_MAX_MODES           25      /* units */
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to