Commit a1a1f6e938a9de13c353064ba80eb705ba7422e9

Authored by Tom Rini

Merge branch 'net' of git://www.denx.de/git/u-boot-microblaze

Showing 1 changed file Side-by-side Diff

drivers/net/zynq_gem.c
... ... @@ -11,6 +11,7 @@
11 11  
12 12 #include <common.h>
13 13 #include <net.h>
  14 +#include <netdev.h>
14 15 #include <config.h>
15 16 #include <fdtdec.h>
16 17 #include <libfdt.h>
... ... @@ -338,7 +339,8 @@
338 339 phy_detection(dev);
339 340  
340 341 /* interface - look at tsec */
341   - phydev = phy_connect(priv->bus, priv->phyaddr, dev, 0);
  342 + phydev = phy_connect(priv->bus, priv->phyaddr, dev,
  343 + PHY_INTERFACE_MODE_MII);
342 344  
343 345 phydev->supported = supported | ADVERTISED_Pause |
344 346 ADVERTISED_Asym_Pause;