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

From: Paulius Zaleckas
Date: Fri Oct 29 2010 - 07:17:14 EST


2010/10/29 MichaÅ MirosÅaw <mirq-linux@xxxxxxxxxxxx>:
> This is cherry-picked from:
>
> git://git.berlios.de/gemini-board ib4220
>
> Code by Paulius Zaleckas <paulius.zaleckas@xxxxxxxxx>
> and Janos Laube <janos.dev@xxxxxxxxx>.
>
> Signed-off-by: MichaÅ MirosÅaw <mirq-linux@xxxxxxxxxxxx>
> ---
>
> Â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@xxxxxxxxxxxx>

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
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/