diff options
author | Moore, Eric Dean <Eric.Moore@lsil.com> | 2005-04-22 18:00:52 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-05-20 13:53:16 -0400 |
commit | 5f5affddad836978f057d316ba8083a5d553773c (patch) | |
tree | 99d6ebec92379e5b52eef25395d58d46da871959 | |
parent | 099175c94a221fa2723b7273883c98cd32efe900 (diff) |
[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 <Eric.Moore@lsil.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r-- | drivers/message/fusion/Kconfig | 45 | ||||
-rw-r--r-- | drivers/message/fusion/Makefile | 44 |
2 files changed, 45 insertions, 44 deletions
diff --git a/drivers/message/fusion/Kconfig b/drivers/message/fusion/Kconfig index 452418b24d7b..2d5a76f7c4a6 100644 --- a/drivers/message/fusion/Kconfig +++ b/drivers/message/fusion/Kconfig | |||
@@ -1,35 +1,50 @@ | |||
1 | 1 | ||
2 | menu "Fusion MPT device support" | 2 | menu "Fusion MPT device support" |
3 | 3 | ||
4 | config FUSION | 4 | config FUSION_SPI |
5 | tristate "Fusion MPT (base + ScsiHost) drivers" | 5 | tristate "Fusion MPT ScsiHost drivers for SPI" |
6 | depends on PCI && SCSI | 6 | depends on PCI && SCSI |
7 | ---help--- | 7 | ---help--- |
8 | LSI Logic Fusion(TM) Message Passing Technology (MPT) device support | 8 | SCSI HOST support for a parallel SCSI host adapters. |
9 | provides high performance SCSI host initiator, and LAN [1] interface | ||
10 | services to a host system. The Fusion architecture is capable of | ||
11 | duplexing these protocols on high-speed Fibre Channel | ||
12 | (up to 2 GHz x 2 ports = 4 GHz) and parallel SCSI (up to Ultra-320) | ||
13 | physical medium. | ||
14 | 9 | ||
15 | [1] LAN is not supported on parallel SCSI medium. | 10 | List of supported controllers: |
11 | |||
12 | LSI53C1020 | ||
13 | LSI53C1020A | ||
14 | LSI53C1030 | ||
15 | LSI53C1035 | ||
16 | |||
17 | config FUSION_FC | ||
18 | tristate "Fusion MPT ScsiHost drivers for FC" | ||
19 | depends on PCI && SCSI | ||
20 | ---help--- | ||
21 | SCSI HOST support for a Fiber Channel host adapters. | ||
22 | |||
23 | List of supported controllers: | ||
24 | |||
25 | LSIFC909 | ||
26 | LSIFC919 | ||
27 | LSIFC919X | ||
28 | LSIFC929 | ||
29 | LSIFC929X | ||
30 | LSIFC929XL | ||
16 | 31 | ||
17 | config FUSION_MAX_SGE | 32 | config FUSION_MAX_SGE |
18 | int "Maximum number of scatter gather entries" | 33 | int "Maximum number of scatter gather entries" |
19 | depends on FUSION | 34 | depends on FUSION_SPI || FUSION_FC |
20 | default "40" | 35 | default "128" |
21 | help | 36 | help |
22 | This option allows you to specify the maximum number of scatter- | 37 | This option allows you to specify the maximum number of scatter- |
23 | gather entries per I/O. The driver defaults to 40, a reasonable number | 38 | gather entries per I/O. The driver defaults to 40, a reasonable number |
24 | for most systems. However, the user may increase this up to 128. | 39 | for most systems. However, the user may increase this up to 128. |
25 | Increasing this parameter will require significantly more memory | 40 | Increasing this parameter will require significantly more memory |
26 | on a per controller instance. Increasing the parameter is not | 41 | on a per controller instance. Increasing the parameter is not |
27 | necessary (or recommended) unless the user will be running | 42 | necessary (or recommended) unless the user will be running |
28 | large I/O's via the raw interface. | 43 | large I/O's via the raw interface. |
29 | 44 | ||
30 | config FUSION_CTL | 45 | config FUSION_CTL |
31 | tristate "Fusion MPT misc device (ioctl) driver" | 46 | tristate "Fusion MPT misc device (ioctl) driver" |
32 | depends on FUSION | 47 | depends on FUSION_SPI || FUSION_FC |
33 | ---help--- | 48 | ---help--- |
34 | The Fusion MPT misc device driver provides specialized control | 49 | The Fusion MPT misc device driver provides specialized control |
35 | of MPT adapters via system ioctl calls. Use of ioctl calls to | 50 | of MPT adapters via system ioctl calls. Use of ioctl calls to |
@@ -48,7 +63,7 @@ config FUSION_CTL | |||
48 | 63 | ||
49 | config FUSION_LAN | 64 | config FUSION_LAN |
50 | tristate "Fusion MPT LAN driver" | 65 | tristate "Fusion MPT LAN driver" |
51 | depends on FUSION && NET_FC | 66 | depends on FUSION_FC && NET_FC |
52 | ---help--- | 67 | ---help--- |
53 | This module supports LAN IP traffic over Fibre Channel port(s) | 68 | This module supports LAN IP traffic over Fibre Channel port(s) |
54 | on Fusion MPT compatible hardware (LSIFC9xx chips). | 69 | on Fusion MPT compatible hardware (LSIFC9xx chips). |
diff --git a/drivers/message/fusion/Makefile b/drivers/message/fusion/Makefile index f6fdcaaefc89..1c99e355a33f 100644 --- a/drivers/message/fusion/Makefile +++ b/drivers/message/fusion/Makefile | |||
@@ -1,52 +1,38 @@ | |||
1 | # | ||
2 | # Makefile for the LSI Logic Fusion MPT (Message Passing Technology) drivers. | ||
3 | # | ||
4 | # Note! If you want to turn on various debug defines for an extended period of | ||
5 | # time but don't want them lingering around in the Makefile when you pass it on | ||
6 | # to someone else, use the MPT_CFLAGS env variable (thanks Steve). -nromer | ||
7 | |||
8 | #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-{ LSI_LOGIC | ||
9 | |||
10 | # Architecture-specific... | ||
11 | # # intel | ||
12 | #EXTRA_CFLAGS += -g | ||
13 | # # sparc64 | ||
14 | #EXTRA_CFLAGS += -gstabs+ | ||
15 | |||
16 | EXTRA_CFLAGS += ${MPT_CFLAGS} | ||
17 | |||
18 | # Fusion MPT drivers; recognized debug defines... | 1 | # Fusion MPT drivers; recognized debug defines... |
19 | # MPT general: | 2 | # MPT general: |
20 | #EXTRA_CFLAGS += -DMPT_DEBUG_SCSI | ||
21 | #EXTRA_CFLAGS += -DMPT_DEBUG | 3 | #EXTRA_CFLAGS += -DMPT_DEBUG |
22 | #EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME | 4 | #EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME |
23 | #EXTRA_CFLAGS += -DMPT_DEBUG_SG | 5 | #EXTRA_CFLAGS += -DMPT_DEBUG_SG |
6 | #EXTRA_CFLAGS += -DMPT_DEBUG_EVENTS | ||
7 | #EXTRA_CFLAGS += -DMPT_DEBUG_INIT | ||
8 | #EXTRA_CFLAGS += -DMPT_DEBUG_EXIT | ||
9 | #EXTRA_CFLAGS += -DMPT_DEBUG_FAIL | ||
10 | |||
24 | 11 | ||
25 | # | 12 | # |
26 | # driver/module specifics... | 13 | # driver/module specifics... |
27 | # | 14 | # |
28 | # For mptbase: | 15 | # For mptbase: |
29 | #CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE | 16 | #CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE |
17 | #CFLAGS_mptbase.o += -DMPT_DEBUG_CONFIG | ||
18 | #CFLAGS_mptbase.o += -DMPT_DEBUG_DL | ||
30 | #CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ | 19 | #CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ |
20 | #CFLAGS_mptbase.o += -DMPT_DEBUG_RESET | ||
31 | # | 21 | # |
32 | # For mptscsih: | 22 | # For mptscsih: |
33 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_SCANDV | 23 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_DV |
34 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_RESET | 24 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_NEGO |
35 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_NEH | 25 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_TM |
26 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_SCSI | ||
27 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_REPLY | ||
36 | # | 28 | # |
37 | # For mptctl: | 29 | # For mptctl: |
38 | #CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL | 30 | #CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL |
39 | # | 31 | # |
40 | # For mptlan: | ||
41 | #CFLAGS_mptlan.o += -DMPT_LAN_IO_DEBUG | ||
42 | # | ||
43 | # For isense: | ||
44 | |||
45 | # EXP... | ||
46 | ##mptscsih-objs := scsihost.o scsiherr.o | ||
47 | 32 | ||
48 | #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC | 33 | #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC |
49 | 34 | ||
50 | obj-$(CONFIG_FUSION) += mptbase.o mptscsih.o | 35 | obj-$(CONFIG_FUSION_SPI) += mptspi.o mptscsih.o mptbase.o |
36 | obj-$(CONFIG_FUSION_FC) += mptfc.o mptscsih.o mptbase.o | ||
51 | obj-$(CONFIG_FUSION_CTL) += mptctl.o | 37 | obj-$(CONFIG_FUSION_CTL) += mptctl.o |
52 | obj-$(CONFIG_FUSION_LAN) += mptlan.o | 38 | obj-$(CONFIG_FUSION_LAN) += mptlan.o |