aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 785bf50488e9..90081e5ea80e 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -1737,6 +1737,14 @@ int ata_dev_configure(struct ata_device *dev)
1737 if (ap->ops->dev_config) 1737 if (ap->ops->dev_config)
1738 ap->ops->dev_config(ap, dev); 1738 ap->ops->dev_config(ap, dev);
1739 1739
1740 /* set _SDD */
1741 rc = ata_acpi_push_id(ap, dev->devno);
1742 if (rc) {
1743 ata_dev_printk(dev, KERN_WARNING, "failed to set _SDD(%d)\n",
1744 rc);
1745 goto err_out_nosup;
1746 }
1747
1740 if (ata_msg_probe(ap)) 1748 if (ata_msg_probe(ap))
1741 ata_dev_printk(dev, KERN_DEBUG, "%s: EXIT, drv_stat = 0x%x\n", 1749 ata_dev_printk(dev, KERN_DEBUG, "%s: EXIT, drv_stat = 0x%x\n",
1742 __FUNCTION__, ata_chk_status(ap)); 1750 __FUNCTION__, ata_chk_status(ap));