From 63e94ea48ad692f506e8db51e64cf3f710d58a71 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 9 Jun 2013 22:06:16 +0200 Subject: 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. --- linux/dev/drivers/block/ahci.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'linux/dev') 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)) { -- cgit v1.2.3