From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: sunxi: dt: add EMAC aliases
Date: Sun, 17 Nov 2013 09:38:29 +0100 [thread overview]
Message-ID: <20131117083829.GK3538@lukather> (raw)
In-Reply-To: <52880460.9050700@elopez.com.ar>
Hi,
On Sat, Nov 16, 2013 at 08:48:48PM -0300, Emilio L?pez wrote:
> Hi,
>
> El 16/11/13 20:37, Michal Suchanek escribi?:
> >Unfortunately,
> >
> >a20 has two Ethernets so you can't alias both to ethernet0.
> >
> >This has to be done on a per-board basis.
> >
>
> That was my first thought, and partly why I did it per-board on v1
> (the other part being that some boards do not have a phy, so having
> an ethernet0 alias felt "wrong"). But after some quick testing, it
> appears that aliases are overridable, so we could just add ethernet0
> = &gmac; on qualifying boards when the gmac support is ready.
Or we will just add it as ethernet1. U-boot is able to put the
mac-address in the DT for every ethernet* nodes for as much ethernet
nodes as you need.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131117/ffd0ff45/attachment.sig>
next prev parent reply other threads:[~2013-11-17 8:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-15 20:16 [PATCH] ARM: sunxi: dt: add EMAC aliases Emilio López
2013-11-16 6:32 ` Maxime Ripard
2013-11-16 18:17 ` [PATCH v2] " Emilio López
2013-11-16 23:37 ` Michal Suchanek
2013-11-16 23:48 ` Emilio López
2013-11-17 8:38 ` Maxime Ripard [this message]
2013-11-18 13:07 ` Michal Suchanek
2013-11-18 13:14 ` Maxime Ripard
2013-11-17 8:52 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131117083829.GK3538@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.