PERFORCE change 127073 for review

Hans Petter Selasky hselasky at FreeBSD.org
Mon Oct 1 12:31:45 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=127073

Change 127073 by hselasky at hselasky_laptop001 on 2007/10/01 19:31:37

	
	Remove misleading comments.
	
	There is no limitation on the buffer size 
	hence we are using the "proxy_buffer" flag.

Affected files ...

.. //depot/projects/usb/src/sys/dev/ata/ata-usb.c#19 edit
.. //depot/projects/usb/src/sys/dev/usb/umass.c#25 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/ata/ata-usb.c#19 (text) ====

@@ -48,7 +48,7 @@
 #include <dev/ata/ata-all.h>
 #include <ata_if.h>
 
-#define	ATAUSB_BULK_SIZE (1<<17) /* don't set this lower than (1 << 16) */
+#define	ATAUSB_BULK_SIZE (1<<17)
 
 /* Command Block Wrapper */
 struct bbb_cbw {

==== //depot/projects/usb/src/sys/dev/usb/umass.c#25 (text+ko) ====

@@ -156,7 +156,7 @@
 #define	DPRINTF(...) do { } while (0)
 #endif
 
-#define	UMASS_BULK_SIZE (1 << 17) /* bytes, must not be less than (1<<16) */
+#define	UMASS_BULK_SIZE (1 << 17)
 #define	UMASS_CBI_DIAGNOSTIC_CMDLEN 12 /* bytes */
 #define	UMASS_MAX_CMDLEN MAX(12, CAM_MAX_CDBLEN) /* bytes */
 


More information about the p4-projects mailing list