android_kernel_samsung_msm8976/drivers/message/fusion
Moore, Eric e6b2d76a49 [SCSI] fusion - expander hotplug suport in mptsas module
This adds support for hot adding and removing
expanders, and its associated attached devices.
When there is a change in topology,
the fusion firmware sends the
MPI_EVENT_SAS_DISCOVERY event to the driver.
The driver will read firmware config pages
to determine what changes took place, and refresh
drivers view of the world stored in ioc->sas_topology.

Here is the details of the action the driver does:

(1) Expander Added :  The mptsas_discovery_work
workqueue is called.  Config pages read, and
ioc->sas_topology is refreshed.  The sas_phy_add()
is called for each phy of the expander.  The
expanders attached devices are added via
sas_rphy_add().  Added end devices are handled within
the MPT_ADD_DEVICE logic in  mptsas_hotplug_work
workqueue.

(2) Expander Delete : The sas_rphy_delete() will be
called for the top most compenent of the parent that the
expander is attached to.  The sas_rphy_delete call
will delete all the children phys, rphys, and end devices.
This is handled from mptsas_discovery_work workqueue.

Signed-off-by: Eric Moore <Eric.Moore@lsil.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-03-14 14:35:17 -06:00
..
lsi [SCSI] fusion - loginfo header update 2006-03-14 14:27:21 -06:00
Kconfig [SCSI] mptspi: Add transport class Domain Validation 2006-03-01 09:44:04 -06:00
linux_compat.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [SCSI] fusion - move some debug firmware event debug msgs to verbose level 2006-03-14 14:27:43 -06:00
mptbase.c [SCSI] fusion - static fix's 2006-03-14 14:33:18 -06:00
mptbase.h [SCSI] fusion - expander hotplug suport in mptsas module 2006-03-14 14:35:17 -06:00
mptctl.c [SCSI] fusion - static fix's 2006-03-14 14:33:18 -06:00
mptctl.h [SCSI] fusion - mptctl - adding support for bus_type=SAS 2006-02-04 16:31:29 -06:00
mptfc.c [SCSI] fusion - removing target_id/bus_id from the VirtDevice structure 2006-03-14 14:33:38 -06:00
mptlan.c [SCSI] fusion - mptlan - remove wierd humor print 2006-02-27 22:55:04 -06:00
mptlan.h [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
mptsas.c [SCSI] fusion - expander hotplug suport in mptsas module 2006-03-14 14:35:17 -06:00
mptscsih.c [SCSI] fusion - exposing raid components in mptsas 2006-03-14 14:35:01 -06:00
mptscsih.h [SCSI] fusion - exposing raid components in mptsas 2006-03-14 14:35:01 -06:00
mptspi.c [SCSI] fusion - removing target_id/bus_id from the VirtDevice structure 2006-03-14 14:33:38 -06:00