fsl/fman: Add FMan MAC support
authorIgal Liberman <igal.liberman@freescale.com>
Mon, 21 Dec 2015 00:21:27 +0000 (02:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Dec 2015 01:51:40 +0000 (20:51 -0500)
commit57ba4c9b56d898a955f95cb4091aeab28e902cac
tree96546473d3a2a889a58f68dcefa87bded37757d3
parent414fd46e77626f4e1f89ab4be6b876ef91e89dfa
fsl/fman: Add FMan MAC support

Add the Data Path Acceleration Architecture Frame Manger MAC support.
This patch adds The FMan MAC configuration, initialization and
runtime control routines.
This patch contains support for these types of MACs:
- dTSEC: Three speed Ethernet controller (10/100/1000 Mbps)
- tGEC: 10G Ethernet controller (10 Gbps)
- mEMAC: Multi-rate Ethernet MAC (10/100/1000/10000 Mbps)
Different FMan revisions have different type and number of MACs.

Signed-off-by: Igal Liberman <igal.liberman@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/Makefile
drivers/net/ethernet/freescale/fman/fman_dtsec.c [new file with mode: 0644]
drivers/net/ethernet/freescale/fman/fman_dtsec.h [new file with mode: 0644]
drivers/net/ethernet/freescale/fman/fman_mac.h [new file with mode: 0644]
drivers/net/ethernet/freescale/fman/fman_memac.c [new file with mode: 0644]
drivers/net/ethernet/freescale/fman/fman_memac.h [new file with mode: 0644]
drivers/net/ethernet/freescale/fman/fman_tgec.c [new file with mode: 0644]
drivers/net/ethernet/freescale/fman/fman_tgec.h [new file with mode: 0644]