[PATCH] [v2] Nios2: Add Altera TSE MAC driver
franck.jullien at gmail.com
franck.jullien at gmail.com
Sat Apr 9 10:08:06 EDT 2011
From: Franck JULLIEN <franck.jullien at gmail.com>
This version includes Sascha's remarks:
* tse_eth_halt stops and reset the DMA controllers
* the driver uses mii generic functions
* the phy address can be passed via platform_data
* tse_get_ethaddr has been cleared (there is no eeprom thing to set the MAC
address at startup).
I added a phy_id to phy name function. May be that we could put this (and
associated structure) in miidev.c / mii.h.
Franck JULLIEN (1):
[v2] Nios2: Add Altera TSE MAC driver
drivers/net/Kconfig | 16 ++
drivers/net/Makefile | 5 +-
drivers/net/altera_tse.c | 620 ++++++++++++++++++++++++++++++++++++++++++++++
drivers/net/altera_tse.h | 313 +++++++++++++++++++++++
4 files changed, 952 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/altera_tse.c
create mode 100644 drivers/net/altera_tse.h
More information about the barebox
mailing list