aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2009-04-25 08:53:12 -0400
committerDavid S. Miller <davem@davemloft.net>2009-04-27 05:53:48 -0400
commitfe192a49118f5b1272317d60c7930ece4e13ae49 (patch)
tree9bafb44af6a43861ec7b906c897ac9f4570124a0 /drivers/net/gianfar.h
parent324931ba21858c34787dee7d222388ef3fb41ee0 (diff)
net: Rework gianfar driver to use of_mdio infrastructure.
This patch simplifies the driver by making use of more common code. Tested on Freescale MPC8349emitxgp eval board Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Andy Fleming <afleming@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gianfar.h')
-rw-r--r--drivers/net/gianfar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/gianfar.h b/drivers/net/gianfar.h
index 0642d52aef5c..91317bc11154 100644
--- a/drivers/net/gianfar.h
+++ b/drivers/net/gianfar.h
@@ -779,7 +779,8 @@ struct gfar_private {
779 spinlock_t bflock; 779 spinlock_t bflock;
780 780
781 phy_interface_t interface; 781 phy_interface_t interface;
782 char phy_bus_id[BUS_ID_SIZE]; 782 struct device_node *phy_node;
783 struct device_node *tbi_node;
783 u32 device_flags; 784 u32 device_flags;
784 unsigned char rx_csum_enable:1, 785 unsigned char rx_csum_enable:1,
785 extended_hash:1, 786 extended_hash:1,
@@ -793,7 +794,6 @@ struct gfar_private {
793 794
794 /* PHY stuff */ 795 /* PHY stuff */
795 struct phy_device *phydev; 796 struct phy_device *phydev;
796 struct phy_device *tbiphy;
797 struct mii_bus *mii_bus; 797 struct mii_bus *mii_bus;
798 int oldspeed; 798 int oldspeed;
799 int oldduplex; 799 int oldduplex;