You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
11 years ago
|
From 30b19330e175f621b04718bc4e55db75768997aa Mon Sep 17 00:00:00 2001
|
||
11 years ago
|
From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
|
||
11 years ago
|
Date: Wed, 29 May 2013 09:32:45 +0000
|
||
|
Subject: [PATCH 22/29] net: mv643xx_eth: add phy_node to platform_data struct
|
||
11 years ago
|
|
||
|
This adds a struct device_node pointer for a phy passed by phandle
|
||
|
to mv643xx_eth node.
|
||
|
|
||
|
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
|
||
11 years ago
|
Signed-off-by: David S. Miller <davem@davemloft.net>
|
||
11 years ago
|
---
|
||
|
include/linux/mv643xx_eth.h | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
--- a/include/linux/mv643xx_eth.h
|
||
|
+++ b/include/linux/mv643xx_eth.h
|
||
11 years ago
|
@@ -30,6 +30,7 @@ struct mv643xx_eth_shared_platform_data
|
||
11 years ago
|
#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
|