linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET] libata: implement and use ata_wait_register()
@ 2006-04-07  8:02 Tejun Heo
  2006-04-07  8:02 ` [PATCH 5/5] sata_sil24: " Tejun Heo
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Tejun Heo @ 2006-04-07  8:02 UTC (permalink / raw)
  To: jgarzik, linux-ide, htejun

Hello, Jeff.

This patchset implements ata_wait_register() and uses it in ahci and
sata_sil24.  The function is generalized form of ahci_poll_register()
with the following differences.

* Uses ioread32.
* The first read is done before calculating timeout such that
  unflushed io write doesn't affect timeout.  (no flush required
  before calling this function.)
* Test conditions is negated.  As it waits for something to change,
  negated test is more natural/powerful and allows this function to be
  used for wider purpos.
* Returns the last read value of @reg.

This patchset contains five patches.

#01-02	fix & prep sata_sil24 for following changes
#03-05	implement and use ata_wait_register()

This patchset is against.

     upstream [1]
     + libata reset updates patchset (3 patches) [2]

Thanks.

--
tejun

[1] c2a6585296009379e0f4eff39cdcb108b457ebf2
[2] http://article.gmane.org/gmane.linux.ide/9414



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-04-07  8:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-07  8:02 [PATCHSET] libata: implement and use ata_wait_register() Tejun Heo
2006-04-07  8:02 ` [PATCH 5/5] sata_sil24: " Tejun Heo
2006-04-07  8:02 ` [PATCH 3/5] libata: implement ata_wait_register() Tejun Heo
2006-04-07  8:02 ` [PATCH 2/5] sata_sil24: better error message from softreset Tejun Heo
2006-04-07  8:02 ` [PATCH 4/5] ahci: use ata_wait_register() Tejun Heo
2006-04-07  8:02 ` [PATCH 1/5] sata_sil24: fix timeout calculation in sil24_softreset Tejun Heo

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).