* [PATCH] Add SATA GEN3 related messages
@ 2008-11-18 9:33 Shane Huang
2008-11-18 11:13 ` Tejun Heo
0 siblings, 1 reply; 5+ messages in thread
From: Shane Huang @ 2008-11-18 9:33 UTC (permalink / raw)
To: jgarzik; +Cc: linux-ide, htejun, shane.huang
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))
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] Add SATA GEN3 related messages
2008-11-18 9:33 [PATCH] Add SATA GEN3 related messages Shane Huang
@ 2008-11-18 11:13 ` Tejun Heo
2008-11-19 3:15 ` Huang, Shane
0 siblings, 1 reply; 5+ messages in thread
From: Tejun Heo @ 2008-11-18 11:13 UTC (permalink / raw)
To: Shane Huang; +Cc: jgarzik, linux-ide
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
^ permalink raw reply [flat|nested] 5+ messages in thread* RE: [PATCH] Add SATA GEN3 related messages
2008-11-18 11:13 ` Tejun Heo
@ 2008-11-19 3:15 ` Huang, Shane
2008-11-19 3:44 ` Tejun Heo
0 siblings, 1 reply; 5+ messages in thread
From: Huang, Shane @ 2008-11-19 3:15 UTC (permalink / raw)
To: Tejun Heo; +Cc: jgarzik, linux-ide, Huang, Shane
Hi Tejun,
> -----Original Message-----
> From: Tejun Heo [mailto:htejun@gmail.com]
>
> Sweeeeettt. Can you also update the force_tbl and force
> param handling?
No resource yet due to some other tasks...... :-(
Can you accept this patch first? It should be an independent one.
Thanks
Shane
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Add SATA GEN3 related messages
2008-11-19 3:15 ` Huang, Shane
@ 2008-11-19 3:44 ` Tejun Heo
0 siblings, 0 replies; 5+ messages in thread
From: Tejun Heo @ 2008-11-19 3:44 UTC (permalink / raw)
To: Huang, Shane; +Cc: jgarzik, linux-ide
Huang, Shane wrote:
> Hi Tejun,
>
>
>> -----Original Message-----
>> From: Tejun Heo [mailto:htejun@gmail.com]
>>
>> Sweeeeettt. Can you also update the force_tbl and force
>> param handling?
>
>
> No resource yet due to some other tasks...... :-(
> Can you accept this patch first? It should be an independent one.
Yeah, sure,
Acked-by: Tejun Heo <tj@kernel.org>
--
tejun
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] Add SATA GEN3 related messages
@ 2008-12-30 3:00 Shane Huang
0 siblings, 0 replies; 5+ messages in thread
From: Shane Huang @ 2008-12-30 3:00 UTC (permalink / raw)
To: jgarzik; +Cc: linux-ide, htejun, Huang, Shane
Re-sending this patch in case Jeff lost it.
=== CUT HERE ===
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))
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-12-30 3:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-18 9:33 [PATCH] Add SATA GEN3 related messages Shane Huang
2008-11-18 11:13 ` Tejun Heo
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
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).