From: Tejun Heo <htejun@gmail.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH] sata_uli: ignore SIMPLEX
Date: Sat, 20 Jan 2007 12:41:51 +0900 [thread overview]
Message-ID: <45B18F7F.7000900@gmail.com> (raw)
In-Reply-To: <45B15F7E.2080807@pobox.com>
Jeff Garzik wrote:
> Tejun Heo wrote:
>> Some uli controllers have stuck SIMPLEX bit which can't be cleared
>> with ata_pci_clear_simplex(), but the controller is capable of doing
>> DMAs on both channels simultaneously. Ignore it.
>>
>> Signed-off-by: Tejun Heo <htejun@gmail.com>
>
> This is going to be the common case going forward. Please create an
> 'ignore simplex bit' flag, and set it in sata_uli
I'm a little bit hesitant to do that.
1. I don't think we're gonna have a lot of drivers which need this.
Just a few. We've just found one now.
2. I think libata core layer (sff included) is burdened with too much
already. Also, now that devres is acked, we can easily transition to
alloc - init - register model which gives LLDs much more flexibility and
this kind of stuff can easily be done in init_one()'s. It just fits there.
But, it's your call.
Thanks.
--
tejun
next prev parent reply other threads:[~2007-01-20 3:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-16 5:55 [PATCH] sata_uli: ignore SIMPLEX Tejun Heo
2007-01-16 11:46 ` Alan
2007-01-20 0:17 ` Jeff Garzik
2007-01-20 3:41 ` Tejun Heo [this message]
2007-01-20 4:05 ` Jeff Garzik
2007-01-22 11:30 ` Alan
2007-01-25 10:40 ` [PATCH] libata: implement ATA_FLAG_IGN_SIMPLEX and use it in sata_uli Tejun Heo
2007-01-25 22:26 ` Jeff Garzik
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=45B18F7F.7000900@gmail.com \
--to=htejun@gmail.com \
--cc=jgarzik@pobox.com \
--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).