summaryrefslogtreecommitdiff
path: root/include/netdev.h
diff options
context:
space:
mode:
authorDavid Andrey <david.andrey@netmodule.com>2013-04-04 19:13:07 +0200
committerMichal Simek <michal.simek@xilinx.com>2013-04-30 11:39:23 +0200
commit117cd4cc103443b442afc4d48c8d3920f6c171c0 (patch)
tree7232bd81036fc2d206b308e2e6159fa94a314b0a /include/netdev.h
parent7193653e8dddf8f232c19e16a4ca3c5052c71f09 (diff)
downloadu-boot-117cd4cc103443b442afc4d48c8d3920f6c171c0.tar.gz
net: gem: Pass phy address to init
Pass the PHY address to the driver init to allow parallel use of both interfaces Signed-off-by: David Andrey <david.andrey@netmodule.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/netdev.h')
-rw-r--r--include/netdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netdev.h b/include/netdev.h
index fd3e243c71..81117b19ca 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -104,7 +104,7 @@ int xilinx_emaclite_initialize(bd_t *bis, unsigned long base_addr,
int txpp, int rxpp);
int xilinx_ll_temac_eth_init(bd_t *bis, unsigned long base_addr, int flags,
unsigned long ctrl_addr);
-int zynq_gem_initialize(bd_t *bis, int base_addr);
+int zynq_gem_initialize(bd_t *bis, int base_addr, int phy_addr);
/*
* As long as the Xilinx xps_ll_temac ethernet driver has not its own interface
* exported by a public hader file, we need a global definition at this point.