[RFC PATCH 1/2] Gemini: create platform device for ethernet in Raidsonic IB-4220B

Paulius Zaleckas paulius.zaleckas at gmail.com
Fri Oct 29 07:17:07 EDT 2010


2010/10/29 Michał Mirosław <mirq-linux at rere.qmqm.pl>:
> This is cherry-picked from:
>
> git://git.berlios.de/gemini-board ib4220
>
> Code by Paulius Zaleckas <paulius.zaleckas at gmail.com>
> and Janos Laube <janos.dev at gmail.com>.
>
> Signed-off-by: Michał Mirosław <mirq-linux at rere.qmqm.pl>
> ---
>
>  arch/arm/mach-gemini/board-nas4220b.c    |   53 ++++++++++++++++++++++++++++++
>  arch/arm/mach-gemini/common.h            |    2 +
>  arch/arm/mach-gemini/devices.c           |   52 +++++++++++++++++++++++++++++
>  arch/arm/mach-gemini/include/mach/gmac.h |   21 ++++++++++++
>  4 files changed, 128 insertions(+), 0 deletions(-)
>  create mode 100644 arch/arm/mach-gemini/include/mach/gmac.h
>
[...]
> diff --git a/arch/arm/mach-gemini/include/mach/gmac.h b/arch/arm/mach-gemini/include/mach/gmac.h
> new file mode 100644
> index 0000000..c6eeacc
> --- /dev/null
> +++ b/arch/arm/mach-gemini/include/mach/gmac.h
> @@ -0,0 +1,21 @@
> +/*
> + * Gemini GMAC specific defines
> + *
> + * Copyright (C) 2008, Paulius Zaleckas <paulius.zaleckas at teltonika.lt>

This e-mail is dead. Please change it to gmail one.

> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.
> + */
> +#ifndef __MACH_GMAC_H__
> +#define __MACH_GMAC_H__
> +
> +#include <linux/phy.h>
> +
> +struct gemini_gmac_platform_data {
> +       char *bus_id[2]; /* NULL means that this port is not used */
> +       phy_interface_t interface[2];
> +};
> +
> +#endif /* __MACH_GMAC_H__ */
> --
> 1.7.1
>
>



More information about the linux-arm-kernel mailing list