diff options
author | Brent Casavant <bcasavan@sgi.com> | 2005-06-21 20:16:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 21:46:32 -0400 |
commit | e5d310b349b2cbcc0dab31139c92201f332695bb (patch) | |
tree | 2884b77c09a575d8252bb490d384e8f1ece19d42 /drivers/serial | |
parent | 22329b511a97557b293583194037d1f4c71e1504 (diff) |
[PATCH] ioc4: CONFIG split
The SGI IOC4 I/O controller chip drivers are currently all configured by
CONFIG_BLK_DEV_SGIIOC4. This is undesirable as not all IOC4 hardware features
are needed by all systems.
This patch adds two configuration variables, CONFIG_SGI_IOC4 for core IOC4
driver support (see patch 1/3 in this series for further explanation) and
CONFIG_SERIAL_SGI_IOC4 to independently enable serial port support.
Signed-off-by: Brent Casavant <bcasavan@sgi.com>
Acked-by: Pat Gefre <pfg@sgi.com>
Acked-by: Jeremy Higdon <jeremy@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/Kconfig | 9 | ||||
-rw-r--r-- | drivers/serial/Makefile | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 6a15703f1cb9..25fcef2c42de 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig | |||
@@ -843,4 +843,13 @@ config SERIAL_JSM | |||
843 | To compile this driver as a module, choose M here: the | 843 | To compile this driver as a module, choose M here: the |
844 | module will be called jsm. | 844 | module will be called jsm. |
845 | 845 | ||
846 | config SERIAL_SGI_IOC4 | ||
847 | tristate "SGI IOC4 controller serial support" | ||
848 | depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC4 | ||
849 | select SERIAL_CORE | ||
850 | help | ||
851 | If you have an SGI Altix with an IOC4 based Base IO card | ||
852 | and wish to use the serial ports on this card, say Y. | ||
853 | Otherwise, say N. | ||
854 | |||
846 | endmenu | 855 | endmenu |
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile index 81b77d769b84..8f1cdde7dbed 100644 --- a/drivers/serial/Makefile +++ b/drivers/serial/Makefile | |||
@@ -51,4 +51,4 @@ obj-$(CONFIG_ETRAX_SERIAL) += crisv10.o | |||
51 | obj-$(CONFIG_SERIAL_JSM) += jsm/ | 51 | obj-$(CONFIG_SERIAL_JSM) += jsm/ |
52 | obj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o | 52 | obj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o |
53 | obj-$(CONFIG_SERIAL_VR41XX) += vr41xx_siu.o | 53 | obj-$(CONFIG_SERIAL_VR41XX) += vr41xx_siu.o |
54 | obj-$(CONFIG_BLK_DEV_SGIIOC4) += ioc4_serial.o | 54 | obj-$(CONFIG_SERIAL_SGI_IOC4) += ioc4_serial.o |