Re: [PATCH] - mpt fusion - resend negotiation parameters after host reset and resume

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

 



On Tue, 2006-04-18 at 17:08 -0600, Moore, Eric wrote:
> +static void
> +mptspi_renegotiate(struct scsi_target *starget)
> +{
> +       struct _CONFIG_PAGE_SCSI_DEVICE_1 pg1;
> +       u32 nego;
> +
> +       nego = mptspi_getRP(starget);
> +
> +       pg1.RequestedParameters = cpu_to_le32(nego);
> +       pg1.Reserved = 0;
> +       pg1.Configuration = 0;
> +
> +       mptspi_write_spi_device_pg1(starget, &pg1);
> +}

You probably want to use spi_schedule_dv() here instead of this for all
cases, don't you?

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