Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172870
b: refs/heads/master
c: 7a02267
h: refs/heads/master
v: v3
  • Loading branch information
Mark Nelson authored and Jeff Garzik committed Dec 3, 2009
1 parent 0943fed commit e13660e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 89d3b3603bfb648e0113d8682d4f84dd18a776bd
refs/heads/master: 7a02267e0f3938a6e91c0a0a82211e4d7007210e
8 changes: 8 additions & 0 deletions trunk/drivers/ata/ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -3004,6 +3004,14 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
if (pdev->vendor == PCI_VENDOR_ID_MARVELL && !marvell_enable)
return -ENODEV;

/* Promise's PDC42819 is a SAS/SATA controller that has an AHCI mode.
* At the moment, we can only use the AHCI mode. Let the users know
* that for SAS drives they're out of luck.
*/
if (pdev->vendor == PCI_VENDOR_ID_PROMISE)
dev_printk(KERN_INFO, &pdev->dev, "PDC42819 "
"can only drive SATA devices with this driver\n");

/* acquire resources */
rc = pcim_enable_device(pdev);
if (rc)
Expand Down

0 comments on commit e13660e

Please sign in to comment.