Add SATA GEN3 related messages
PATCH 1/1 Add SATA GEN3 related messages
The present AHCI driver seems to support SATA GEN 3 speed, but the related messages should be modified.
drivers/ata/ahci.c +2 -0
@@ -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
@@ -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))
Quoted 21 lines · 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 <[email protected]>diff -ruN
c/drivers/ata/ahci.cd/drivers/ata/ahci.cdrivers/ata/ahci.c +2
-0@@ -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.cd/drivers/ata/libata-core.c
drivers/ata/libata-core.c line 936
Quoted 7 lines
drivers/ata/libata-core.c +1
-0@@ -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?
Signature · 1 line
tejun
Hi Tejun,
Quoted 5 lines
-----Original Message-----
From: Tejun Heo [mailto:[email protected]]Sweeeeettt. Can you also update the
force_tbland 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
Tejun Heo
Acked-byQuoted 6 lines · Shane
Hi Tejun,
Quoted 3 lines
-----Original Message-----
From: Tejun Heo [mailto:[email protected]]
Quoted 6 lines
Quoted 2 lines
Sweeeeettt. Can you also update the
force_tbland 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,
Signature · 1 line
tejun