summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-09 22:06:16 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-09 22:06:16 +0200
commit63e94ea48ad692f506e8db51e64cf3f710d58a71 (patch)
treeb2831124e7dcbe01e5f35f8fbbdd71b0fbe19764 /linux
parentb6f5f510249eaa3cdc31fd7d001f61b7844dbee0 (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.
Diffstat (limited to 'linux')
-rw-r--r--linux/dev/drivers/block/ahci.c4
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)) {