diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2011-11-17 21:41:35 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-18 19:09:07 (GMT) |
commit | 3f5eb8d5688a5266ab943cf94aebe4c0eea726a3 (patch) | |
tree | f91c3a0743c1c7058704b20517f4c533c4a6dbb8 /drivers/usb/host/whci/int.c | |
parent | add1aaeabe6b08ed26381a2a06e505b2f09c3ba5 (diff) | |
download | linux-fsl-qoriq-3f5eb8d5688a5266ab943cf94aebe4c0eea726a3.tar.xz |
USB: make the usbfs memory limit configurable
The 16-MB global limit on memory used by usbfs isn't suitable for all
people. It's a reasonable default, but there are applications
(especially for SuperSpeed devices) that need a lot more.
This patch (as1498) creates a writable module parameter for usbcore to
control the global limit. The default is still 16 MB, but users can
change it at runtime, even after usbcore has been loaded. As a
special case, setting the value to 0 is treated the same as the hard
limit of 2047 MB.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/whci/int.c')
0 files changed, 0 insertions, 0 deletions