diff options
author | Alan Cox <alan@linux.intel.com> | 2010-06-30 12:58:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 16:47:44 -0400 |
commit | 61fd15262bb9c88a05fd89af22add9317dc1b1f4 (patch) | |
tree | 5bd8a7ac29f098b344eb71b0d472787e651057c1 /drivers/serial/Kconfig | |
parent | 44318feb93327e36108b2a9cf94ac9f7ccabf047 (diff) |
serial: max3107: Abstract out the platform specific bits
At the moment there is only one platform type supported and there is is
hard wired, but with these changes the infrastructure is now there for
anyone else to provide methods for their hardware.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r-- | drivers/serial/Kconfig | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index fd406273cb71..c34c217878b3 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig | |||
@@ -542,20 +542,29 @@ config SERIAL_S5PV210 | |||
542 | help | 542 | help |
543 | Serial port support for Samsung's S5P Family of SoC's | 543 | Serial port support for Samsung's S5P Family of SoC's |
544 | 544 | ||
545 | |||
546 | config SERIAL_MAX3100 | ||
547 | tristate "MAX3100 support" | ||
548 | depends on SPI | ||
549 | select SERIAL_CORE | ||
550 | help | ||
551 | MAX3100 chip support | ||
552 | |||
545 | config SERIAL_MAX3107 | 553 | config SERIAL_MAX3107 |
546 | tristate "MAX3107 support" | 554 | tristate "MAX3107 support" |
547 | depends on SPI && GPIOLIB | 555 | depends on SPI |
548 | select SERIAL_CORE | 556 | select SERIAL_CORE |
549 | default y | ||
550 | help | 557 | help |
551 | MAX3107 chip support | 558 | MAX3107 chip support |
552 | 559 | ||
553 | config SERIAL_MAX3100 | 560 | config SERIAL_MAX3107_AAVA |
554 | tristate "MAX3100 support" | 561 | tristate "MAX3107 AAVA platform support" |
555 | depends on SPI | 562 | depends on X86_MRST && SERIAL_MAX3107 && GPIOLIB |
556 | select SERIAL_CORE | 563 | select SERIAL_CORE |
557 | help | 564 | help |
558 | MAX3100 chip support | 565 | Support for the MAX3107 chip configuration found on the AAVA |
566 | platform. Includes the extra initialisation and GPIO support | ||
567 | neded for this device. | ||
559 | 568 | ||
560 | config SERIAL_DZ | 569 | config SERIAL_DZ |
561 | bool "DECstation DZ serial driver" | 570 | bool "DECstation DZ serial driver" |