From: Jeff Garzik <jeff@garzik.org>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH] sata_promise: new EH conversion for 20619 chips, take 2
Date: Thu, 15 Feb 2007 18:09:40 -0500 [thread overview]
Message-ID: <45D4E834.6000502@garzik.org> (raw)
In-Reply-To: <200702112219.l1BMJr88026358@harpo.it.uu.se>
Mikael Pettersson wrote:
> This patch updates the sata_promise driver to use new-style
> libata error handling for 20619 (TX4000) chips. sata_promise
> already uses new EH for the other chips it supports, so the
> patch is quite simple:
>
> * remove ->phy_reset and ->eng_timeout ops from pdc_pata_ops,
> and instead bind ->freeze, ->thaw, ->error_handler, and
> ->post_internal_cmd to existing new EH functions
> * drop ATA_FLAG_SRST from board_20619's flags
> * remove now unused pdc_pata_phy_reset() and pdc_eng_timeout()
>
> Tested on a TX4000 with both modern working disks and old/quirky
> disks. Also used a CD-RW drive to test reading and writing CDs.
>
> Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
>
> ---
>
> Changes since first version: pdc_pata_cbl_detect() is not removed
> since it's now called from pdc_error_handler() via pdc_pre_reset().
>
> drivers/ata/sata_promise.c | 55 +++------------------------------------------
> 1 files changed, 4 insertions(+), 51 deletions(-)
applied
prev parent reply other threads:[~2007-02-15 23:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-11 22:19 [PATCH] sata_promise: new EH conversion for 20619 chips, take 2 Mikael Pettersson
2007-02-15 23:09 ` Jeff Garzik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45D4E834.6000502@garzik.org \
--to=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=mikpe@it.uu.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).