summaryrefslogtreecommitdiffstats
path: root/drivers/qe/uec.h
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2011-04-13 00:37:12 -0500
committerAndy Fleming <afleming@freescale.com>2011-04-20 15:09:35 -0500
commit865ff856403fb4bec6fe7f18101364384880068f (patch)
tree10d0d27dd3ae1d484bf5920ce4d1be4fcb786ab1 /drivers/qe/uec.h
parent063c12633d5ad74d52152d9c358e715475e17629 (diff)
downloadblackbird-obmc-uboot-865ff856403fb4bec6fe7f18101364384880068f.tar.gz
blackbird-obmc-uboot-865ff856403fb4bec6fe7f18101364384880068f.zip
fsl: Change fsl_phy_enet_if to phy_interface_t
The fsl_phy_enet_if enum was, essentially, the phy_interface_t enum. This meant that drivers which used fsl_phy_enet_if to deal with PHY interfaces would have to convert between the two (or we would have to have them mirror each other, and deal with the ensuing maintenance headache). Instead, we switch all clients of fsl_phy_enet_if over to phy_interface_t, which should become the standard, anyway. Signed-off-by: Andy Fleming <afleming@freescale.com> Acked-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'drivers/qe/uec.h')
-rw-r--r--drivers/qe/uec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/qe/uec.h b/drivers/qe/uec.h
index 94eb9a26d7..e63bf3a652 100644
--- a/drivers/qe/uec.h
+++ b/drivers/qe/uec.h
@@ -25,6 +25,7 @@
#include "qe.h"
#include "uccf.h"
+#include <phy.h>
#include <asm/fsl_enet.h>
#define MAX_TX_THREADS 8
@@ -691,7 +692,7 @@ typedef struct uec_info {
u16 rx_bd_ring_len;
u16 tx_bd_ring_len;
u8 phy_address;
- enum fsl_phy_enet_if enet_interface_type;
+ phy_interface_t enet_interface_type;
int speed;
} uec_info_t;
OpenPOWER on IntegriCloud