Subject: Re: dual interface question
To: Greywolf <greywolf@starwolf.com>
From: john heasley <heas@shrubbery.net>
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...
>=20
> 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.
>=20
> Sorry to bristle, here, please don't take it personally.  This is
> very frustrating to me...
>=20
> 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.
>=20
> 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...
>=20
> [i.e. no, I can't code this, but I sense it's possible, somehow.]
>=20
> 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.
>=20
> Many thanks.
>=20
> 				--*greywolf;
> --
> 22 Ways to Get Yourself Killed While Watching 'The Lord Of The Rings':
>=20
> #18: Imitate what you think a conversation between Gollum, Dobby and Yoda
>     would be like.
>=20