547f9a2184
* Wide port support added - using James Bottomley's new SAS wide port API. (There is a known problem in sas transport layer reported yesterday to James. The Kobject dev.bus_ids for end devices are not unique across expanders. I have added a work around in this patch, where I asigning an unique port identifier for every port within the host - this solves the problem, but I expect a fix from James in the sas transport). * Adding target_alloc and target_destroy entry points, and moving code over from the slave entry points. * The renaming of some mptscsih_xxx functions declared in mptsas.c, to mptsas_xxx. * Target Reset moved from slave_destroy to hotplug work thread handling (with regard to device removal). Also inhibit IO to end device while device is being broken down . Talked to James Smart about this at Linux Expo (with questions of how the fc transport handles this). * Cleaning up the kzalloc's, and kfree's Signed-off-by: Eric Moore <Eric.Moore@lsil.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# Fusion MPT drivers; recognized debug defines...
|
|
# MPT general:
|
|
#EXTRA_CFLAGS += -DMPT_DEBUG
|
|
#EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME
|
|
#EXTRA_CFLAGS += -DMPT_DEBUG_SG
|
|
#EXTRA_CFLAGS += -DMPT_DEBUG_EVENTS
|
|
#EXTRA_CFLAGS += -DMPT_DEBUG_VERBOSE_EVENTS
|
|
#EXTRA_CFLAGS += -DMPT_DEBUG_INIT
|
|
#EXTRA_CFLAGS += -DMPT_DEBUG_EXIT
|
|
#EXTRA_CFLAGS += -DMPT_DEBUG_FAIL
|
|
|
|
|
|
#
|
|
# driver/module specifics...
|
|
#
|
|
# For mptbase:
|
|
#CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE
|
|
#CFLAGS_mptbase.o += -DMPT_DEBUG_CONFIG
|
|
#CFLAGS_mptbase.o += -DMPT_DEBUG_DL
|
|
#CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ
|
|
#CFLAGS_mptbase.o += -DMPT_DEBUG_RESET
|
|
#
|
|
# For mptscsih:
|
|
#CFLAGS_mptscsih.o += -DMPT_DEBUG_DV
|
|
#CFLAGS_mptscsih.o += -DMPT_DEBUG_NEGO
|
|
#CFLAGS_mptscsih.o += -DMPT_DEBUG_TM
|
|
#CFLAGS_mptscsih.o += -DMPT_DEBUG_SCSI
|
|
#CFLAGS_mptscsih.o += -DMPT_DEBUG_REPLY
|
|
#
|
|
# For mptctl:
|
|
#CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL
|
|
#
|
|
# For mptfc:
|
|
#CFLAGS_mptfc.o += -DMPT_DEBUG_FC
|
|
|
|
# For mptsas:
|
|
#CFLAGS_mptsas.o += -DMPT_DEBUG_SAS
|
|
#CFLAGS_mptsas.o += -DMPT_DEBUG_SAS_WIDE
|
|
|
|
|
|
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC
|
|
|
|
obj-$(CONFIG_FUSION_SPI) += mptbase.o mptscsih.o mptspi.o
|
|
obj-$(CONFIG_FUSION_FC) += mptbase.o mptscsih.o mptfc.o
|
|
obj-$(CONFIG_FUSION_SAS) += mptbase.o mptscsih.o mptsas.o
|
|
obj-$(CONFIG_FUSION_CTL) += mptctl.o
|
|
obj-$(CONFIG_FUSION_LAN) += mptlan.o
|