diff options
-rw-r--r-- | drivers/ata/ahci.c | 2 | ||||
-rw-r--r-- | drivers/ata/libata-core.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 656448c7fef9..6dc462105688 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c | |||
@@ -2446,6 +2446,8 @@ static void ahci_print_info(struct ata_host *host) | |||
2446 | speed_s = "1.5"; | 2446 | speed_s = "1.5"; |
2447 | else if (speed == 2) | 2447 | else if (speed == 2) |
2448 | speed_s = "3"; | 2448 | speed_s = "3"; |
2449 | else if (speed == 3) | ||
2450 | speed_s = "6"; | ||
2449 | else | 2451 | else |
2450 | speed_s = "?"; | 2452 | speed_s = "?"; |
2451 | 2453 | ||
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index f178a450ec08..9ae583554c8b 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -1007,6 +1007,7 @@ static const char *sata_spd_string(unsigned int spd) | |||
1007 | static const char * const spd_str[] = { | 1007 | static const char * const spd_str[] = { |
1008 | "1.5 Gbps", | 1008 | "1.5 Gbps", |
1009 | "3.0 Gbps", | 1009 | "3.0 Gbps", |
1010 | "6.0 Gbps", | ||
1010 | }; | 1011 | }; |
1011 | 1012 | ||
1012 | if (spd == 0 || (spd - 1) >= ARRAY_SIZE(spd_str)) | 1013 | if (spd == 0 || (spd - 1) >= ARRAY_SIZE(spd_str)) |