* [PATCH 24/24] mpt fusion: [2.6.30-rc6] hotplug event MPTSAS_DEL_DEVICE fix
@ 2009-05-22 11:12 Kashyap, Desai
0 siblings, 0 replies; only message in thread
From: Kashyap, Desai @ 2009-05-22 11:12 UTC (permalink / raw)
To: linux-scsi; +Cc: James.Bottomley, Eric.Moore, Sathya.Prakash
This is a fix for hotplug remove event.
Added code which will remove device on receiving MPTSAS_DEL_DEVICE event.
---
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
---
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index 5562894..5b88a25 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -4028,6 +4028,9 @@ mptsas_hotplug_work(MPT_ADAPTER *ioc, struct fw_event_work *fw_event,
break;
case MPTSAS_DEL_DEVICE:
+ phy_info = mptsas_find_phyinfo_by_sas_address(ioc,
+ hot_plug_info->sas_address);
+ mptsas_del_end_device(ioc, phy_info);
break;
case MPTSAS_DEL_PHYSDISK:
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-22 11:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-22 11:12 [PATCH 24/24] mpt fusion: [2.6.30-rc6] hotplug event MPTSAS_DEL_DEVICE fix Kashyap, Desai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).