* Prakash, Sathya (Sathya.Prakash@xxxxxxx) wrote: > This patch will avoid sending the port mode page request for SSP device also so NACK. Try to use the patch provided by Eric, which modifies the driver to send the port mode page request only for SSP device. Yeah. That was exactly the wrong thing to do. Here is the one with Eric's suggestion. Signed-off-by: Abhijit Paithankar <apaithan@xxxxxxxxxx> Index: linux-2.6.27/drivers/message/fusion/mptsas.c =================================================================== --- linux-2.6.27.orig/drivers/message/fusion/mptsas.c 2008-10-13 17:31:57.000000000 -0700 +++ linux-2.6.27/drivers/message/fusion/mptsas.c 2008-10-14 11:36:36.000000000 -0700 @@ -839,11 +839,15 @@ mptsas_sas_enclosure_pg0(MPT_ADAPTER *io static int mptsas_slave_configure(struct scsi_device *sdev) { + struct sas_rphy *rphy; if (sdev->channel == MPTSAS_RAID_CHANNEL) goto out; - sas_read_port_mode_page(sdev); + rphy = dev_to_rphy(sdev->sdev_target->dev.parent); + if (rphy->identify.device_type == SAS_END_DEVICE && + (rphy->identify.target_port_protocols & SAS_PROTOCOL_SSP)) + sas_read_port_mode_page(sdev); out: return mptscsih_slave_configure(sdev); -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html