net: emaclite: Fix OF initialization
- Add xilinx_emaclite_of_init to netdev.h - Remove global data pointer from the driver - Add better handling for error state. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
@@ -86,6 +86,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_of_init(const void *blob);
|
||||
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,
|
||||
|
Reference in New Issue
Block a user