summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fwserial/Kconfig
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-11-22 13:06:11 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-08 17:03:03 -0800
commit87a5a0371b7356c99f16363b80107602f110fcda (patch)
treee0941d4432ca33612ebcdaa5eccf0ce32efbd8c0 /drivers/staging/fwserial/Kconfig
parent49bb8405b4a8d3d357237770f965e7c6be4377c5 (diff)
downloadlinux-87a5a0371b7356c99f16363b80107602f110fcda.tar.bz2
staging/fwserial: Add Kconfig options for max ports
Allow kernel configuration of max supported ports for TTY-over-Firewire driver. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fwserial/Kconfig')
-rw-r--r--drivers/staging/fwserial/Kconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/staging/fwserial/Kconfig b/drivers/staging/fwserial/Kconfig
index a0812d99136f..9c7c9267d52c 100644
--- a/drivers/staging/fwserial/Kconfig
+++ b/drivers/staging/fwserial/Kconfig
@@ -9,3 +9,23 @@ config FIREWIRE_SERIAL
To compile this driver as a module, say M here: the module will
be called firewire-serial.
+
+if FIREWIRE_SERIAL
+
+config FWTTY_MAX_TOTAL_PORTS
+ int "Maximum number of serial ports supported"
+ default "64"
+ help
+ Set this to the maximum number of serial ports you want the
+ firewire-serial driver to support.
+
+config FWTTY_MAX_CARD_PORTS
+ int "Maximum number of serial ports supported per adapter"
+ range 0 FWTTY_MAX_TOTAL_PORTS
+ default "32"
+ help
+ Set this to the maximum number of serial ports each firewire
+ adapter supports. The actual number of serial ports registered
+ is set with the module parameter "ttys".
+
+endif