Commit 9b94755a authored by Michal Simek's avatar Michal Simek Committed by Wolfgang Denk
Browse files

net: emaclite: Use unsigned long for baseaddr

Baseaddr should be unsigned long.

Signed-off-by: default avatarMichal Simek <>
parent 7b5d61b5
......@@ -342,7 +342,7 @@ static int emaclite_recv(struct eth_device *dev)
int xilinx_emaclite_initialize (bd_t *bis, int base_addr)
int xilinx_emaclite_initialize(bd_t *bis, unsigned long base_addr)
struct eth_device *dev;
struct xemaclite *emaclite;
......@@ -366,7 +366,7 @@ int xilinx_emaclite_initialize (bd_t *bis, int base_addr)
emaclite->rxpp = 1;
sprintf(dev->name, "Xelite.%x", base_addr);
sprintf(dev->name, "Xelite.%lx", base_addr);
dev->iobase = base_addr;
dev->init = emaclite_init;
......@@ -97,7 +97,7 @@ int uli526x_initialize(bd_t *bis);
int armada100_fec_register(unsigned long base_addr);
int xilinx_axiemac_initialize(bd_t *bis, unsigned long base_addr,
unsigned long dma_addr);
int xilinx_emaclite_initialize (bd_t *bis, int base_addr);
int xilinx_emaclite_initialize(bd_t *bis, unsigned long base_addr);
/* Boards with PCI network controllers can call this from their board_eth_init()
* function to initialize whatever's on board.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment