Add the first axi_ethernet driver for little-endian Microblaze.
Signed-off-by: Michal Simek mon...@monstr.eu
---
v2:
- Fix return addreses
- Fix NULL pointer defer for priv structure
---
.../xilinx/microblaze-generic/microblaze-generic.c |4 +
drivers/net/Makefile
On Tuesday, March 08, 2011 09:25:52 Michal Simek wrote:
+int xilinx_axiemac_initialize(bd_t *bis, int base_addr, int dma_addr)
+{
+ struct eth_device *dev;
+ struct axidma_priv *dma;
+
+ dev = calloc(1, sizeof(struct eth_device));
+ if (dev == NULL)
+ return -1;
2 matches
Mail list logo