Re: [PATCH] - mpt fusion - mptspi - host reset, kick off domain validation again.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-04-19 at 13:20 -0600, Moore, Eric wrote:
> +static void
> +mptspi_renegotiate(struct scsi_device *sdev)
> +{
> +       struct _MPT_SCSI_HOST *hd = (struct _MPT_SCSI_HOST
> *)sdev->host->hostdata;
> +
> +       if (sdev->channel == 1 ||
> +            !(hd->ioc->raid_data.isRaid & (1 << sdev->id)))

The equivalent of this check is *already* in mptspi_dv_device(), so you
don't need to check it again.  Simply replacing mptspi_renegotiate with
mptspi_dv_device() should work fine.

James


-
: 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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux