mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 17:10:11 +00:00
Merge branch 'net' of git://www.denx.de/git/u-boot-microblaze
This commit is contained in:
commit
a1a1f6e938
1 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
|
#include <netdev.h>
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <fdtdec.h>
|
#include <fdtdec.h>
|
||||||
#include <libfdt.h>
|
#include <libfdt.h>
|
||||||
|
@ -338,7 +339,8 @@ static int zynq_gem_init(struct eth_device *dev, bd_t * bis)
|
||||||
phy_detection(dev);
|
phy_detection(dev);
|
||||||
|
|
||||||
/* interface - look at tsec */
|
/* 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 |
|
phydev->supported = supported | ADVERTISED_Pause |
|
||||||
ADVERTISED_Asym_Pause;
|
ADVERTISED_Asym_Pause;
|
||||||
|
|
Loading…
Reference in a new issue