From 5f5affddad836978f057d316ba8083a5d553773c Mon Sep 17 00:00:00 2001 From: "Moore, Eric Dean" Date: Fri, 22 Apr 2005 18:00:52 -0400 Subject: [SCSI] mptfusion: Kconfig Adding new bus type drivers for fusion drivers. (1) Kconfig - added new mptspi and mptfc scsi lld drivers (2) Kconfig - increased MAX_SGE from 40 to 128 (2) Makefile - compilation support for split drivers (3) Makefile - cleaned up debug defines; e.g. removed obsolete, added others Signed-off-by: Eric Moore Signed-off-by: James Bottomley --- drivers/message/fusion/Kconfig | 45 ++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 15 deletions(-) (limited to 'drivers/message/fusion/Kconfig') diff --git a/drivers/message/fusion/Kconfig b/drivers/message/fusion/Kconfig index 452418b24d7..2d5a76f7c4a 100644 --- a/drivers/message/fusion/Kconfig +++ b/drivers/message/fusion/Kconfig @@ -1,35 +1,50 @@ menu "Fusion MPT device support" -config FUSION - tristate "Fusion MPT (base + ScsiHost) drivers" +config FUSION_SPI + tristate "Fusion MPT ScsiHost drivers for SPI" depends on PCI && SCSI ---help--- - LSI Logic Fusion(TM) Message Passing Technology (MPT) device support - provides high performance SCSI host initiator, and LAN [1] interface - services to a host system. The Fusion architecture is capable of - duplexing these protocols on high-speed Fibre Channel - (up to 2 GHz x 2 ports = 4 GHz) and parallel SCSI (up to Ultra-320) - physical medium. + SCSI HOST support for a parallel SCSI host adapters. - [1] LAN is not supported on parallel SCSI medium. + List of supported controllers: + + LSI53C1020 + LSI53C1020A + LSI53C1030 + LSI53C1035 + +config FUSION_FC + tristate "Fusion MPT ScsiHost drivers for FC" + depends on PCI && SCSI + ---help--- + SCSI HOST support for a Fiber Channel host adapters. + + List of supported controllers: + + LSIFC909 + LSIFC919 + LSIFC919X + LSIFC929 + LSIFC929X + LSIFC929XL config FUSION_MAX_SGE int "Maximum number of scatter gather entries" - depends on FUSION - default "40" + depends on FUSION_SPI || FUSION_FC + default "128" help This option allows you to specify the maximum number of scatter- gather entries per I/O. The driver defaults to 40, a reasonable number for most systems. However, the user may increase this up to 128. - Increasing this parameter will require significantly more memory + Increasing this parameter will require significantly more memory on a per controller instance. Increasing the parameter is not - necessary (or recommended) unless the user will be running + necessary (or recommended) unless the user will be running large I/O's via the raw interface. config FUSION_CTL tristate "Fusion MPT misc device (ioctl) driver" - depends on FUSION + depends on FUSION_SPI || FUSION_FC ---help--- The Fusion MPT misc device driver provides specialized control of MPT adapters via system ioctl calls. Use of ioctl calls to @@ -48,7 +63,7 @@ config FUSION_CTL config FUSION_LAN tristate "Fusion MPT LAN driver" - depends on FUSION && NET_FC + depends on FUSION_FC && NET_FC ---help--- This module supports LAN IP traffic over Fibre Channel port(s) on Fusion MPT compatible hardware (LSIFC9xx chips). -- cgit v1.2.3 From b86fff7368b139171edab66972ea1309092f519e Mon Sep 17 00:00:00 2001 From: James Bottomley Date: Sat, 23 Apr 2005 02:45:48 -0400 Subject: [SCSI] mptfusion: correct Kconfig problem The fusion Kconfig forgets to set CONFIG_FUSION, which is required to get the upper makefile to descend into the fusion directory. Add this back as a variable and make the two upper level modules select it. Signed-off-by: James Bottomley --- drivers/message/fusion/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers/message/fusion/Kconfig') diff --git a/drivers/message/fusion/Kconfig b/drivers/message/fusion/Kconfig index 2d5a76f7c4a..a0e1c96b586 100644 --- a/drivers/message/fusion/Kconfig +++ b/drivers/message/fusion/Kconfig @@ -1,9 +1,14 @@ menu "Fusion MPT device support" +config FUSION + bool + default n + config FUSION_SPI tristate "Fusion MPT ScsiHost drivers for SPI" depends on PCI && SCSI + select FUSION ---help--- SCSI HOST support for a parallel SCSI host adapters. @@ -17,6 +22,7 @@ config FUSION_SPI config FUSION_FC tristate "Fusion MPT ScsiHost drivers for FC" depends on PCI && SCSI + select FUSION ---help--- SCSI HOST support for a Fiber Channel host adapters. -- cgit v1.2.3 From 51bbc9c3e85598ffe72caf99f88db767952f2a57 Mon Sep 17 00:00:00 2001 From: "Moore, Eric Dean" Date: Wed, 11 May 2005 17:37:29 -0600 Subject: [SCSI] fusion-kconfig-cleanup * This patch clarifies help section in FUSION_MAX_SGE entry. Signed-off-by: Eric Moore Signed-off-by: James Bottomley --- drivers/message/fusion/Kconfig | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'drivers/message/fusion/Kconfig') diff --git a/drivers/message/fusion/Kconfig b/drivers/message/fusion/Kconfig index a0e1c96b586..33f209a39cb 100644 --- a/drivers/message/fusion/Kconfig +++ b/drivers/message/fusion/Kconfig @@ -36,17 +36,16 @@ config FUSION_FC LSIFC929XL config FUSION_MAX_SGE - int "Maximum number of scatter gather entries" - depends on FUSION_SPI || FUSION_FC + int "Maximum number of scatter gather entries (16 - 128)" + depends on FUSION default "128" + range 16 128 help This option allows you to specify the maximum number of scatter- - gather entries per I/O. The driver defaults to 40, a reasonable number - for most systems. However, the user may increase this up to 128. - Increasing this parameter will require significantly more memory - on a per controller instance. Increasing the parameter is not - necessary (or recommended) unless the user will be running - large I/O's via the raw interface. + gather entries per I/O. The driver default is 128, which matches + SCSI_MAX_PHYS_SEGMENTS. However, it may decreased down to 16. + Decreasing this parameter will reduce memory requirements + on a per controller instance. config FUSION_CTL tristate "Fusion MPT misc device (ioctl) driver" -- cgit v1.2.3