From a948ae90c210260106dcb411ed006d2ee13ade21 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Thu, 3 Oct 2013 02:50:00 +0000 Subject: kirkwood: update patches and configuration (3.10) Signed-off-by: Luka Perkov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38295 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ..._eth-add-phy_node-to-platform_data-struct.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 target/linux/kirkwood/patches-3.10/0022-net-mv643xx_eth-add-phy_node-to-platform_data-struct.patch (limited to 'target/linux/kirkwood/patches-3.10/0022-net-mv643xx_eth-add-phy_node-to-platform_data-struct.patch') diff --git a/target/linux/kirkwood/patches-3.10/0022-net-mv643xx_eth-add-phy_node-to-platform_data-struct.patch b/target/linux/kirkwood/patches-3.10/0022-net-mv643xx_eth-add-phy_node-to-platform_data-struct.patch new file mode 100644 index 0000000000..1bb740bbac --- /dev/null +++ b/target/linux/kirkwood/patches-3.10/0022-net-mv643xx_eth-add-phy_node-to-platform_data-struct.patch @@ -0,0 +1,32 @@ +From 30b19330e175f621b04718bc4e55db75768997aa Mon Sep 17 00:00:00 2001 +From: Sebastian Hesselbarth +Date: Wed, 29 May 2013 09:32:45 +0000 +Subject: [PATCH 22/29] net: mv643xx_eth: add phy_node to platform_data struct + +This adds a struct device_node pointer for a phy passed by phandle +to mv643xx_eth node. + +Signed-off-by: Sebastian Hesselbarth +Signed-off-by: David S. Miller +--- + include/linux/mv643xx_eth.h | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/include/linux/mv643xx_eth.h ++++ b/include/linux/mv643xx_eth.h +@@ -30,6 +30,7 @@ struct mv643xx_eth_shared_platform_data + #define MV643XX_ETH_PHY_ADDR(x) (0x80 | (x)) + #define MV643XX_ETH_PHY_NONE 0xff + ++struct device_node; + struct mv643xx_eth_platform_data { + /* + * Pointer back to our parent instance, and our port number. +@@ -41,6 +42,7 @@ struct mv643xx_eth_platform_data { + * Whether a PHY is present, and if yes, at which address. + */ + int phy_addr; ++ struct device_node *phy_node; + + /* + * Use this MAC address if it is valid, overriding the -- cgit v1.2.3