aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fec_mpc52xx.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2008-05-01 13:05:58 -0400
committerGrant Likely <grant.likely@secretlab.ca>2008-05-01 13:05:58 -0400
commit80791be11145f7dd7f68c84741fc66e5164b7353 (patch)
tree9794b484b7a92896aade75517d60dc60d00e86ba /drivers/net/fec_mpc52xx.h
parenteabd90944b3a00766e84da3d117ea0f3e0a3b1a3 (diff)
[POWERPC] mpc5200: Allow for fixed speed MII configurations
Various improvements for configuring the MPC5200 MII link from the device tree: * Look for 'current-speed' property for fixed speed MII links * Look for 'fsl,7-wire-mode' property for boards using the 7 wire mode * move definition of private data structure out of the header file Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Diffstat (limited to 'drivers/net/fec_mpc52xx.h')
-rw-r--r--drivers/net/fec_mpc52xx.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/net/fec_mpc52xx.h b/drivers/net/fec_mpc52xx.h
index 8b1f75397b9a..a227a525bdbb 100644
--- a/drivers/net/fec_mpc52xx.h
+++ b/drivers/net/fec_mpc52xx.h
@@ -26,25 +26,6 @@
26 26
27#define FEC_WATCHDOG_TIMEOUT ((400*HZ)/1000) 27#define FEC_WATCHDOG_TIMEOUT ((400*HZ)/1000)
28 28
29struct mpc52xx_fec_priv {
30 int duplex;
31 int r_irq;
32 int t_irq;
33 struct mpc52xx_fec __iomem *fec;
34 struct bcom_task *rx_dmatsk;
35 struct bcom_task *tx_dmatsk;
36 spinlock_t lock;
37 int msg_enable;
38
39 int has_phy;
40 unsigned int phy_speed;
41 unsigned int phy_addr;
42 struct phy_device *phydev;
43 enum phy_state link;
44 int speed;
45};
46
47
48/* ======================================================================== */ 29/* ======================================================================== */
49/* Hardware register sets & bits */ 30/* Hardware register sets & bits */
50/* ======================================================================== */ 31/* ======================================================================== */