]> git.baikalelectronics.ru Git - kernel.git/commit
Add a matching set of device_ functions for determining mac/phy
authorJeremy Linton <jeremy.linton@arm.com>
Wed, 12 Aug 2015 22:06:26 +0000 (17:06 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2015 23:58:29 +0000 (16:58 -0700)
commit9ccace7ee0afbbb7ca983112b24024a42cbae415
treea0003f7e85ee92cebf5cf224266d26b3a738ab39
parentcc03238deb715bf4052231f637d93d2e8b1b9e72
Add a matching set of device_ functions for determining mac/phy

OF has some helper functions for parsing MAC and PHY settings.
In cases where the platform is providing this information rather
than the device itself, there needs to be similar functions for ACPI.

These functions are slightly modified versions of the ones in
of_net which can use information provided via DT or ACPI.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/base/property.c
include/linux/property.h