[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>
This commit is contained in:
Brent Casavant
2005-06-21 17:16:01 -07:00
committed by Linus Torvalds
parent 22329b511a
commit e5d310b349
9 changed files with 48 additions and 5 deletions

View File

@@ -843,4 +843,13 @@ config SERIAL_JSM
To compile this driver as a module, choose M here: the
module will be called jsm.
config SERIAL_SGI_IOC4
tristate "SGI IOC4 controller serial support"
depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC4
select SERIAL_CORE
help
If you have an SGI Altix with an IOC4 based Base IO card
and wish to use the serial ports on this card, say Y.
Otherwise, say N.
endmenu

View File

@@ -51,4 +51,4 @@ obj-$(CONFIG_ETRAX_SERIAL) += crisv10.o
obj-$(CONFIG_SERIAL_JSM) += jsm/
obj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o
obj-$(CONFIG_SERIAL_VR41XX) += vr41xx_siu.o
obj-$(CONFIG_BLK_DEV_SGIIOC4) += ioc4_serial.o
obj-$(CONFIG_SERIAL_SGI_IOC4) += ioc4_serial.o