]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/ata/libata-sff.c
Merge tag 'upstream-3.16-rc1-v2' of git://git.infradead.org/linux-ubifs
[karo-tx-linux.git] / drivers / ata / libata-sff.c
index b603720b877dd0344478ddecf234bb14f77975fa..1121153f1ecde7e08502c2a0a33bc501abc6a9bd 100644 (file)
@@ -2433,15 +2433,6 @@ int ata_pci_sff_activate_host(struct ata_host *host,
                mask = (1 << 2) | (1 << 0);
                if ((tmp8 & mask) != mask)
                        legacy_mode = 1;
-#if defined(CONFIG_NO_ATA_LEGACY)
-               /* Some platforms with PCI limits cannot address compat
-                  port space. In that case we punt if their firmware has
-                  left a device in compatibility mode */
-               if (legacy_mode) {
-                       printk(KERN_ERR "ata: Compatibility mode ATA is not supported on this platform, skipping.\n");
-                       return -EOPNOTSUPP;
-               }
-#endif
        }
 
        if (!devres_open_group(dev, NULL, GFP_KERNEL))