[PATCH v2] ARM: sunxi: dt: add EMAC aliases

Emilio López emilio at elopez.com.ar
Sat Nov 16 18:48:48 EST 2013


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.

Cheers,

Emilio



More information about the linux-arm-kernel mailing list