lkml.org 
[lkml]   [2012]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v1 1/5] ARM: imx28: add basic dt support
    Hi,

    Dong Aisheng writes:
    > On Wed, Mar 14, 2012 at 10:16:43PM +0800, s.hauer@pengutronix.de wrote:
    > > On Wed, Mar 14, 2012 at 08:45:23PM +0800, Dong Aisheng wrote:
    > > > On Wed, Mar 14, 2012 at 01:23:51AM +0800, Grant Likely wrote:
    [...]
    > > > But it seems this needs pass mac address to fec driver via platforom data which is
    > > > not friendly to dt.
    > > >
    > > > Another way may be changing fec driver to get the fixed part of mac address(first
    > > > two bytes) from device tree and read the left dynamical part from otp which i'm not
    > > > sure is better enough.
    > > >
    > > > BTW, filling with zeros seems not work since it's invalid mac address.
    > >
    > > Yes, that's the idea of using this value...
    > >
    > But comparing to use an invalid value, why not just do not define that
    > local-mac-address property?
    >
    Because a MAC address is by definition a GLOBALLY UNIQUE IDENTIFIER
    which is contrary to coding a "valid" default value for it somewhere!
    The owner of a certain MAC address range (OUI) is responsible for
    ensuring the uniqueness. Thus only they may assign a specific MAC
    address to a specific device.


    Lothar Waßmann
    --
    ___________________________________________________________

    Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
    Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
    Geschäftsführer: Matthias Kaussen
    Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

    www.karo-electronics.de | info@karo-electronics.de
    ___________________________________________________________
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2012-03-15 07:57    [W:0.022 / U:0.284 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site