summaryrefslogtreecommitdiffstats
path: root/drivers/usb/usb-skeleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/usb-skeleton.c')
-rw-r--r--drivers/usb/usb-skeleton.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/usb/usb-skeleton.c b/drivers/usb/usb-skeleton.c
index f101347e3ea3..c31d17d05810 100644
--- a/drivers/usb/usb-skeleton.c
+++ b/drivers/usb/usb-skeleton.c
@@ -35,9 +35,11 @@ MODULE_DEVICE_TABLE(usb, skel_table);
35 35
36/* our private defines. if this grows any larger, use your own .h file */ 36/* our private defines. if this grows any larger, use your own .h file */
37#define MAX_TRANSFER (PAGE_SIZE - 512) 37#define MAX_TRANSFER (PAGE_SIZE - 512)
38/* MAX_TRANSFER is chosen so that the VM is not stressed by 38/*
39 allocations > PAGE_SIZE and the number of packets in a page 39 * MAX_TRANSFER is chosen so that the VM is not stressed by
40 is an integer 512 is the largest possible packet on EHCI */ 40 * allocations > PAGE_SIZE and the number of packets in a page
41 * is an integer 512 is the largest possible packet on EHCI
42 */
41#define WRITES_IN_FLIGHT 8 43#define WRITES_IN_FLIGHT 8
42/* arbitrarily chosen */ 44/* arbitrarily chosen */
43 45