From: Jeff Garzik <jgarzik@pobox.com>
To: Tejun Heo <htejun@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH] ata_piix: kill spurious assignment in piix_sata_probe()
Date: Sun, 12 Feb 2006 14:18:01 -0500 [thread overview]
Message-ID: <43EF89E9.1040601@pobox.com> (raw)
In-Reply-To: <20060212100507.GA20979@htj.dyndns.org>
Tejun Heo wrote:
> In piix_sata_probe(), mask gets assigned unnecessarily at the
> beginning of the function. Kill the assignment.
>
> Signed-off-by: Tejun Heo <htejun@gmail.com>
>
> ---
>
> This patch is against
> the current upstream (bef4a456b8dc8b3638f4d49a25a89e1467da9483)
> + http://article.gmane.org/gmane.linux.ide/7967
> + http://article.gmane.org/gmane.linux.ide/7968 (2 patches)
applied, though this function needs a further look:
1) We should really:
* enable port X via PCS, if not already
* delay a bit, for SATA device detection
* check 'present' bit
* if nothing present, disable port X via PCS
2) In ICH6 and later, according to the docs: PCS enable bits should
always be set, and the port should be controlled via SATA phy registers.
As I noted in another email, ICH6+ should support SATA PHY registers
even if AHCI is disabled. See bit 9 of SIR (94h) register in ICH6 and
ICH7, which enables access to SATA PHY regs.
I am hoping that we can make all ICH6/7 use SATA PHY registers, but I am
worried that in some cases the AHCI BAR may not have been assigned a value.
Jeff
prev parent reply other threads:[~2006-02-12 19:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-12 10:05 [PATCH] ata_piix: kill spurious assignment in piix_sata_probe() Tejun Heo
2006-02-12 19:18 ` 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=43EF89E9.1040601@pobox.com \
--to=jgarzik@pobox.com \
--cc=htejun@gmail.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).