/[base]
ViewVC logotype

Revision 345855


Jump to revision: Previous Next
Author: emaste
Date: Wed Apr 3 21:01:53 2019 UTC (5 years, 3 months ago)
Changed paths: 2
Log Message:
cpsw: use `phy-handle` in FDT to find PHY address

In r337703 DTS files were updated to Linux 4.18, including Linux commit
4d8b032d3c03f4e9788a18bbb51b10e6c9e8a56b which removed the `phy_id`
property from am335x-bone-common (as the property was deprecated).

Use `phy-handle` via fdt_get_phyaddr, keeping the existing code as a
fallback for old DTBs.

PR:		236624
Submitted by:	manu, Gerald Aryeetey <aryeeteygerald_rogers.com>
Reported by:	Gerald Aryeetey
Reviewed by:	manu
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D19814


Changed paths

Path Details
Directoryhead/sys/arm/ti/cpsw/if_cpsw.c modified , text changed
Directoryhead/sys/dev/fdt/fdt_common.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27