From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH] ide: move ide_config_drive_speed() calls to upper layers
Date: Fri, 27 Jul 2007 21:19:19 +0200 [thread overview]
Message-ID: <200707272119.19438.bzolnier@gmail.com> (raw)
In-Reply-To: <20070727122723.35b379d9@the-village.bc.nu>
On Friday 27 July 2007, Alan Cox wrote:
> On Fri, 27 Jul 2007 02:22:27 +0200
> Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
>
> >
> > * Convert {ide_hwif_t,ide_pci_device_t}->host_flag to be u16.
> >
> > * Add IDE_HFLAG_POST_SET_MODE host to indicate the need to program the
> > host for the transfer mode after programming the device. Set it in
> > au1xxx-ide/cs5530/cs5535/pdc202xx_new/sc1200/via82cxxx host drivers.
>
> The CS5530 at least shouldn't care what order changes are done. I don't
> think the SC1200 does either but I don't have the docs to hand.
Thanks, I will make a follow up patch to remove this flag from
cs5530 host driver (unless of course somebody beats me to it).
> For libata we went the post_set_mode way and then junked it. Instead
> there is a ->set_mode method which defaults to the usual order and
> actions. IT821x and similar override it to do very little, post_set_mode
> people call the default method and then do their stuff, and some of the
> crazier cases do stuff both before and after the default.
>
> Much more flexible and it can do anything unlike flags for the cases you
> have.
I view this patch as an intermediate step in ->set_mode direction.
Thanks,
Bart
next prev parent reply other threads:[~2007-07-28 11:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 0:22 [PATCH] ide: move ide_config_drive_speed() calls to upper layers Bartlomiej Zolnierkiewicz
2007-07-27 0:29 ` Bartlomiej Zolnierkiewicz
2007-07-27 0:31 ` Bartlomiej Zolnierkiewicz
2007-07-27 11:27 ` Alan Cox
2007-07-27 19:19 ` Bartlomiej Zolnierkiewicz [this message]
2007-07-28 18:57 ` Sergei Shtylyov
2007-08-03 23:01 ` Bartlomiej Zolnierkiewicz
2007-08-05 12:58 ` Sergei Shtylyov
2007-07-29 12:28 ` Sergei Shtylyov
2007-08-03 23:01 ` Bartlomiej Zolnierkiewicz
2007-08-06 17:43 ` Sergei Shtylyov
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=200707272119.19438.bzolnier@gmail.com \
--to=bzolnier@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-ide@vger.kernel.org \
/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).