Skip to contentSkip to conversation

Add SATA GEN3 related messages

PATCH New Shane Huang 1 participant 1 message Dec 30, 2008 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add SATA GEN3 related messages

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.

drivers/ata/ahci.c +2 -0
diff -ruN c/drivers/ata/ahci.c d/drivers/ata/ahci.c
@@ -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 = "?";
 
drivers/ata/libata-core.c +1 -0
diff -ruN c/drivers/ata/libata-core.c d/drivers/ata/libata-core.c
@@ -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))