Subject: Re: dual interface question
To: Eduardo Horvath <eeh@netbsd.org>
From: Greywolf <greywolf@starwolf.com>
List: port-sparc
Date: 07/21/2004 11:36:30
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFA/reyPHvwcY2+w1kRAjKnAJ9YLElJunOwu1Rv+GsWrOwZRo0o4wCdFDYI
szel+JMKOzcD5Zb0HR0Y6kQ=
=U1bp
-----END PGP SIGNATURE-----