Re: [PATCH 6/6] sata_sil24: kill ops->tf_read() and use ata_std_noop_check_status()

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

 



Tejun Heo wrote:
sil24 doesn't have single TF image.  Result TF is bound to each
command.  As libata now allows TF-less implementation, kill
ops->tf_read and use ata_std_noop_check_status() for check_status
callbacks.  Result TF is loaded directly from LRAM into qc->result_tf
if necessary.

This patch also makes sil24_hardreset() to request followup SRST as
that's the only way to wait for !BSY.  Note that the original
implementation never worked - if the cached status was !BSY,
ata_busy_sleep() finished immediately; otherwise, it timed out
regardless of the actual device status.

Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>

NAK, for reasons described in previous patchset.


-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux