linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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
* [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).