staging: comedi: Add kernel config for default buffer sizes
authorIan Abbott <abbotti@mev.co.uk>
Fri, 13 Apr 2012 13:12:54 +0000 (14:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2012 18:18:23 +0000 (11:18 -0700)
commit234bb3c60f1f1489630750aba4adf40154e0bd70
treebd7a0fb7a5033a9418056973d01843e345bd7a88
parent4d7df821277e82ebe2fc9c9af07c928a83f572b8
staging: comedi: Add kernel config for default buffer sizes

Allow the default values for the module parameters for the default
initial buffer size and default maximum buffer size to be specified in
the kernel configuration.

I'm not sure what the defaults for the defaults for the defaults should
be, but 64 KiB seems to small, so I used values suggested by Bernd Porr,
which are 2048 KiB for the default initial buffer size and 20480 for the
default maximum buffer size.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Cc: Bernd Porr <berndporr@f2s.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/Kconfig
drivers/staging/comedi/comedi_fops.c
This page took 0.05027 seconds and 5 git commands to generate.