On 2012-08-26 17:09, Wolfgang Grandegger wrote:
> From: Wolfgang Grandegger <wg...@de...>
>
> This patch adds a driver for the FEC Ethernet controllers available
> on various SOCs of PowerPC and ARM processors from Freescale, e.g.
> MPC8xx and i.MXn, n=[25,27,28,31,35,51,53,6Q,...].
>
> It's derived from the files "drivers/net/ethernet/freescale/fec.[ch]"
> of the mainline Linux 3.5 kernel (git tag v3.5-709-ga6be1fc).
>
> To simplify the backport of Linux patches for the FEC driver, code
> changes are minimized. Therefore existing coding style issues have
> also not been addressed.
>
> Due to heavy changes of the clock, platform and device-tree support,
> version dependent switches are necessary (using LINUX_VERSION_CODE)
> to support recent kernel versions >= 3.0.
>
> The driver have been tested with v3.0.15 on an i.MX53 and i.MX6Q
> board.
>
> Signed-off-by: Wolfgang Grandegger <wg...@de...>
> ---
> configure.ac | 11 +
> drivers/GNUmakefile.am | 18 +
> drivers/rt_fec.c | 1940 ++++++++++++++++++++++++++++++++++++++++++++++++
> drivers/rt_fec.h | 153 ++++
> 4 files changed, 2122 insertions(+)
> create mode 100644 drivers/rt_fec.c
> create mode 100644 drivers/rt_fec.h
Thanks, merged.
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
|