diff options
Diffstat (limited to 'drivers/ata/libata-sff.c')
-rw-r--r-- | drivers/ata/libata-sff.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c index b603720b877d..1121153f1ecd 100644 --- a/drivers/ata/libata-sff.c +++ b/drivers/ata/libata-sff.c | |||
@@ -2433,15 +2433,6 @@ int ata_pci_sff_activate_host(struct ata_host *host, | |||
2433 | mask = (1 << 2) | (1 << 0); | 2433 | mask = (1 << 2) | (1 << 0); |
2434 | if ((tmp8 & mask) != mask) | 2434 | if ((tmp8 & mask) != mask) |
2435 | legacy_mode = 1; | 2435 | legacy_mode = 1; |
2436 | #if defined(CONFIG_NO_ATA_LEGACY) | ||
2437 | /* Some platforms with PCI limits cannot address compat | ||
2438 | port space. In that case we punt if their firmware has | ||
2439 | left a device in compatibility mode */ | ||
2440 | if (legacy_mode) { | ||
2441 | printk(KERN_ERR "ata: Compatibility mode ATA is not supported on this platform, skipping.\n"); | ||
2442 | return -EOPNOTSUPP; | ||
2443 | } | ||
2444 | #endif | ||
2445 | } | 2436 | } |
2446 | 2437 | ||
2447 | if (!devres_open_group(dev, NULL, GFP_KERNEL)) | 2438 | if (!devres_open_group(dev, NULL, GFP_KERNEL)) |