projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52fded7
)
net: zynq: Use predefined macros instead of hardcoded value
author
Michal Simek
<michal.simek@xilinx.com>
Tue, 25 Feb 2014 09:25:38 +0000
(10:25 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Tue, 6 May 2014 11:41:33 +0000
(13:41 +0200)
MII is used by this driver.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/zynq_gem.c
patch
|
blob
|
history
diff --git
a/drivers/net/zynq_gem.c
b/drivers/net/zynq_gem.c
index 101489c994760bf8bdaba0f7546fd941ca846a94..08056a4bac19bf78a483ac958929595f017d8194 100644
(file)
--- a/
drivers/net/zynq_gem.c
+++ b/
drivers/net/zynq_gem.c
@@
-338,7
+338,8
@@
static int zynq_gem_init(struct eth_device *dev, bd_t * bis)
phy_detection(dev);
/* interface - look at tsec */
- phydev = phy_connect(priv->bus, priv->phyaddr, dev, 0);
+ phydev = phy_connect(priv->bus, priv->phyaddr, dev,
+ PHY_INTERFACE_MODE_MII);
phydev->supported = supported | ADVERTISED_Pause |
ADVERTISED_Asym_Pause;