svn commit: r306327 - head/sys/arm/nvidia
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Sun Sep 25 23:45:50 UTC 2016
Author: gonzo
Date: Sun Sep 25 23:45:49 2016
New Revision: 306327
URL: https://svnweb.freebsd.org/changeset/base/306327
Log:
Update AHCI driver to match new dts tree
phy name parameter was changed from "sata-phy" to "sata-0" in new dts tree
introduced in r306197
Modified:
head/sys/arm/nvidia/tegra_ahci.c
Modified: head/sys/arm/nvidia/tegra_ahci.c
==============================================================================
--- head/sys/arm/nvidia/tegra_ahci.c Sun Sep 25 23:05:44 2016 (r306326)
+++ head/sys/arm/nvidia/tegra_ahci.c Sun Sep 25 23:45:49 2016 (r306327)
@@ -255,7 +255,7 @@ get_fdt_resources(struct tegra_ahci_sc *
return (ENXIO);
}
- rv = phy_get_by_ofw_name(sc->dev, 0, "sata-phy", &sc->phy);
+ rv = phy_get_by_ofw_name(sc->dev, 0, "sata-0", &sc->phy);
if (rv != 0) {
device_printf(sc->dev, "Cannot get 'sata' phy\n");
return (ENXIO);
More information about the svn-src-all
mailing list