diff options
Diffstat (limited to 'drivers/ata/ahci.c')
-rw-r--r-- | drivers/ata/ahci.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 9519c777af83..b8bea100a160 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c | |||
@@ -3004,6 +3004,14 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
3004 | if (pdev->vendor == PCI_VENDOR_ID_MARVELL && !marvell_enable) | 3004 | if (pdev->vendor == PCI_VENDOR_ID_MARVELL && !marvell_enable) |
3005 | return -ENODEV; | 3005 | return -ENODEV; |
3006 | 3006 | ||
3007 | /* Promise's PDC42819 is a SAS/SATA controller that has an AHCI mode. | ||
3008 | * At the moment, we can only use the AHCI mode. Let the users know | ||
3009 | * that for SAS drives they're out of luck. | ||
3010 | */ | ||
3011 | if (pdev->vendor == PCI_VENDOR_ID_PROMISE) | ||
3012 | dev_printk(KERN_INFO, &pdev->dev, "PDC42819 " | ||
3013 | "can only drive SATA devices with this driver\n"); | ||
3014 | |||
3007 | /* acquire resources */ | 3015 | /* acquire resources */ |
3008 | rc = pcim_enable_device(pdev); | 3016 | rc = pcim_enable_device(pdev); |
3009 | if (rc) | 3017 | if (rc) |