diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-06-09 22:06:16 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-06-09 22:06:16 +0200 |
commit | 63e94ea48ad692f506e8db51e64cf3f710d58a71 (patch) | |
tree | b2831124e7dcbe01e5f35f8fbbdd71b0fbe19764 | |
parent | b6f5f510249eaa3cdc31fd7d001f61b7844dbee0 (diff) |
Do not skip AHCI controller without HOST_CAP_ONLY
We rather rely on the announced PCI type to determine whether to use IDE or
AHCI.
* linux/dev/drivers/block/ahci.c (ahci_probe_dev): Do not skip AHCI
controller without HOST_CAP_ONLY.
-rw-r--r-- | linux/dev/drivers/block/ahci.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/dev/drivers/block/ahci.c b/linux/dev/drivers/block/ahci.c index a9d6335..dbc8fdb 100644 --- a/linux/dev/drivers/block/ahci.c +++ b/linux/dev/drivers/block/ahci.c @@ -777,10 +777,6 @@ static void ahci_probe_dev(unsigned char bus, unsigned char device) /* Map mmio */ ahci_host = vremap(bar, 0x2000); - if (!(readl(&ahci_host->cap) & HOST_CAP_ONLY)) { - printk("ahci: %02u:%02u.%u: available as IDE too, skipping it\n", bus, dev, fun); - return; - } /* Request IRQ */ if (request_irq(irq, &ahci_interrupt, SA_SHIRQ, "ahci", (void*) ahci_host)) { |