Subject: Re: dual interface question
To: Greywolf <>
From: john heasley <>
List: port-sparc
Date: 07/21/2004 11:42:35
Havent actually looked at the code, but ISTR getmyeaddr() (or whatever
its called) was recently (just before or after 2.0 branch) changed to
honor local-mac-address.

Wed, Jul 21, 2004 at 11:36:30AM -0700, Greywolf:
> Thus spake Eduardo Horvath ("EH> ") sometime Today...
> EH> In order to make use of the "local-mac-address" property of the
> EH> firmware the driver needs to retrieve the value from the OBP node
> EH> associated with the device.  But there is no MI way of doing that
> EH> operation.  Since PCI devices, like HME, may be compiled for platforms
> EH> without OFW, like i386, the value of that property is not retrieved.
> Sorry to bristle, here, please don't take it personally.  This is
> very frustrating to me...
> Considering that I'm talking SBUS and not PCI at the moment, I think
> that's a straw man, and I find it difficult to believe that, just because
> "there is no MI way of (retrieving the value)" from PCI, we are unwilling
> to make it available at an MD level where it would be appropriate.
> In fact, it could be MADE MI by having a MD hook for it -- if the hook
> isn't there (because it doesn't apply at that point), we punt.  If the
> hook IS there, then it shouldn't really be that big a deal.  This is
> all from the point of view that, conceptually, it should work, as seen
> through the eyes of an exhausted, confused individual...
> [i.e. no, I can't code this, but I sense it's possible, somehow.]
> in the meantime, if someone can find me the OBP commands by which I can
> even temporarily add a local-mac-address property to my hme, I'd greatly
> appreciate it.
> Many thanks.
> 				--*greywolf;
> --
> 22 Ways to Get Yourself Killed While Watching 'The Lord Of The Rings':
> #18: Imitate what you think a conversation between Gollum, Dobby and Yoda
>     would be like.