projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'asoc/topic/omap' into asoc-next
[linux-2.6-microblaze.git]
/
drivers
/
ata
/
ahci_platform.c
diff --git
a/drivers/ata/ahci_platform.c
b/drivers/ata/ahci_platform.c
index
4044233
..
62a04c8
100644
(file)
--- a/
drivers/ata/ahci_platform.c
+++ b/
drivers/ata/ahci_platform.c
@@
-51,6
+51,9
@@
static int ahci_probe(struct platform_device *pdev)
if (rc)
return rc;
+ of_property_read_u32(dev->of_node,
+ "ports-implemented", &hpriv->force_port_map);
+
if (of_device_is_compatible(dev->of_node, "hisilicon,hisi-ahci"))
hpriv->flags |= AHCI_HFLAG_NO_FBS | AHCI_HFLAG_NO_NCQ;