[PATCH] Add SATA GEN3 related messages

From: Shane Huang <hidden>
Date: 2008-12-30 03:00:53

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 <redacted>

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))

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help