summaryrefslogtreecommitdiffstats
path: root/drivers/net/fec_mpc52xx.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2008-05-01 11:05:58 -0600
committerGrant Likely <grant.likely@secretlab.ca>2008-05-01 11:05:58 -0600
commit80791be11145f7dd7f68c84741fc66e5164b7353 (patch)
tree9794b484b7a92896aade75517d60dc60d00e86ba /drivers/net/fec_mpc52xx.h
parenteabd90944b3a00766e84da3d117ea0f3e0a3b1a3 (diff)
downloadop-kernel-dev-80791be11145f7dd7f68c84741fc66e5164b7353.zip
op-kernel-dev-80791be11145f7dd7f68c84741fc66e5164b7353.tar.gz
[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 8b1f753..a227a52 100644
--- a/drivers/net/fec_mpc52xx.h
+++ b/drivers/net/fec_mpc52xx.h
@@ -26,25 +26,6 @@
#define FEC_WATCHDOG_TIMEOUT ((400*HZ)/1000)
-struct mpc52xx_fec_priv {
- int duplex;
- int r_irq;
- int t_irq;
- struct mpc52xx_fec __iomem *fec;
- struct bcom_task *rx_dmatsk;
- struct bcom_task *tx_dmatsk;
- spinlock_t lock;
- int msg_enable;
-
- int has_phy;
- unsigned int phy_speed;
- unsigned int phy_addr;
- struct phy_device *phydev;
- enum phy_state link;
- int speed;
-};
-
-
/* ======================================================================== */
/* Hardware register sets & bits */
/* ======================================================================== */
OpenPOWER on IntegriCloud