diff options
Diffstat (limited to 'drivers/ata/libata-pmp.c')
-rw-r--r-- | drivers/ata/libata-pmp.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/ata/libata-pmp.c b/drivers/ata/libata-pmp.c index 3eb2b816eb2..21b80c555c6 100644 --- a/drivers/ata/libata-pmp.c +++ b/drivers/ata/libata-pmp.c | |||
@@ -8,6 +8,7 @@ | |||
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
11 | #include <linux/export.h> | ||
11 | #include <linux/libata.h> | 12 | #include <linux/libata.h> |
12 | #include <linux/slab.h> | 13 | #include <linux/slab.h> |
13 | #include "libata.h" | 14 | #include "libata.h" |
@@ -388,12 +389,9 @@ static void sata_pmp_quirks(struct ata_port *ap) | |||
388 | /* link reports offline after LPM */ | 389 | /* link reports offline after LPM */ |
389 | link->flags |= ATA_LFLAG_NO_LPM; | 390 | link->flags |= ATA_LFLAG_NO_LPM; |
390 | 391 | ||
391 | /* Class code report is unreliable and SRST | 392 | /* Class code report is unreliable. */ |
392 | * times out under certain configurations. | ||
393 | */ | ||
394 | if (link->pmp < 5) | 393 | if (link->pmp < 5) |
395 | link->flags |= ATA_LFLAG_NO_SRST | | 394 | link->flags |= ATA_LFLAG_ASSUME_ATA; |
396 | ATA_LFLAG_ASSUME_ATA; | ||
397 | 395 | ||
398 | /* port 5 is for SEMB device and it doesn't like SRST */ | 396 | /* port 5 is for SEMB device and it doesn't like SRST */ |
399 | if (link->pmp == 5) | 397 | if (link->pmp == 5) |