Re: [PATCH 15/15] misc: Configurable support for PCI serial ports

Russell King
2006-01-07T16:50:36Z

On Fri, Nov 11, 2005 at 02:35:57AM -0600, Matt Mackall wrote:
> Configurable support for PCI serial devices
>
> This allows disabling support for _non_-legacy PCI serial devices.

Why is the config for SERIAL_PCI in init/Kconfig rather than
drivers/serial/Kconfig ?

> --- 2.6.14-misc.orig/init/Kconfig 2005-11-09 11:27:26.000000000 -0800
> +++ 2.6.14-misc/init/Kconfig 2005-11-09 11:27:28.000000000 -0800
> @@ -473,6 +473,15 @@ config BOOTFLAG
> help
> This enables support for the Simple Bootflag Specification.
>
> +config SERIAL_PCI
> + depends PCI && SERIAL_8250
> + default y
> + bool "Enable standard PCI serial support" if EMBEDDED
> + help
> + This builds standard PCI serial support. You may be able to disable
> + this feature if you are only need legacy serial support.
> + Saves about 9K.
> +
> endmenu # General setup
>
> config TINY_SHMEM

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core