From: Tejun Heo <htejun@gmail.com>
To: Shane Huang <shane.huang@amd.com>
Cc: jgarzik@pobox.com, linux-ide@vger.kernel.org
Subject: Re: [PATCH] Add SATA GEN3 related messages
Date: Tue, 18 Nov 2008 20:13:02 +0900 [thread overview]
Message-ID: <4922A33E.2090700@gmail.com> (raw)
In-Reply-To: <1227000818.5631.12.camel@chunhao-desktop>
Shane Huang wrote:
> The present AHCI driver seems to support SATA GEN 3 speed, but the related
> messages should be modified.
>
> Signed-off-by: Shane Huang <shane.huang@amd.com>
>
> diff -ruN c/drivers/ata/ahci.c d/drivers/ata/ahci.c
> --- c/drivers/ata/ahci.c 2008-11-07 11:23:24.000000000 +0800
> +++ d/drivers/ata/ahci.c 2008-11-07 13:47:46.000000000 +0800
> @@ -2446,6 +2446,8 @@
> speed_s = "1.5";
> else if (speed == 2)
> speed_s = "3";
> + else if (speed == 3)
> + speed_s = "6";
> else
> speed_s = "?";
>
> diff -ruN c/drivers/ata/libata-core.c d/drivers/ata/libata-core.c
> --- c/drivers/ata/libata-core.c 2008-11-07 13:46:39.000000000 +0800
> +++ d/drivers/ata/libata-core.c 2008-11-07 13:46:23.000000000 +0800
> @@ -930,6 +930,7 @@
> static const char * const spd_str[] = {
> "1.5 Gbps",
> "3.0 Gbps",
> + "6.0 Gbps",
> };
>
> if (spd == 0 || (spd - 1) >= ARRAY_SIZE(spd_str))
Sweeeeettt. Can you also update the force_tbl and force param handling?
--
tejun
next prev parent reply other threads:[~2008-11-18 11:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-18 9:33 [PATCH] Add SATA GEN3 related messages Shane Huang
2008-11-18 11:13 ` Tejun Heo [this message]
2008-11-19 3:15 ` Huang, Shane
2008-11-19 3:44 ` Tejun Heo
-- strict thread matches above, loose matches on Subject: below --
2008-12-30 3:00 Shane Huang
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=4922A33E.2090700@gmail.com \
--to=htejun@gmail.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=shane.huang@amd.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.