Subject: Re: MAC address for PCI hme (Re: CVS commit: syssrc/sys/arch/i386/conf)
To: <>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: tech-kern
Date: 09/07/2001 12:31:15
--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 28, 2001 at 11:51:31AM +0100, Ben Harris wrote:
> In article <20010827171554.D1209@dr-evil>,
> Jason R Thorpe  <thorpej@wasabisystems.com> wrote:
> >On Tue, Aug 28, 2001 at 07:53:13AM +0900, Izumi Tsutsui wrote:
> >
> > > The problem is the hme does not have its MAC address on it.
> > > (Current driver uses MAC address in sparc NVRAM)
> > > How should we handle it on other ports?
> >
> >What about HME add-in boards?  It's gotta be in there somewhere.
>=20
> I don't really understand how OFW works under the covers, but might it be
> that you have to be able to execute the F-code on the card in order to get
> it to tell you its properties (and hence its MAC address)?  I don't think
> we've got an F-code interpreter in the kernel yet.
>=20
> Hmm.  I suppose you could grep the ROM for 080020 and hope for the best...

Maybe not --- maybe only the last 3 bytes are there. 080020 might be
somewhere else - it is SUNs IEEE prefix.

	-is

--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBO5ih4jCn4om+4LhpAQHeWwgAhoduCiJ2IGqXUrl2TlDUDopWbwAad8PO
3Ri4+OBztKQ/t+An/cdukuVEBrwG0u9D0IOWy8d/7e5aBg2BWZKYr98KqH/n2Vc5
b5F1iEkcF3ES3Q9AH5cYxPd5QZ7PE4TmK45RjvGYi7oQk85SY8bX/FQ3/P2crpkq
bmmCGa8ctzhc14hXE6t4k6cPtQn37XxUOAGyt1V7UtfpxJ8FlDD+dUQBxpPA5c9c
8lewH9oDOWxCaP9S4D33hRM0QwZG0tchIE3t1HwVTSst84q9qiJTYHjwJLqFQMti
dVNE/33NNdPG5qAnqZxD3oRVwNyScP8RmlPgJPqfil48otCCc9iDkw==
=HU7q
-----END PGP SIGNATURE-----

--jI8keyz6grp/JLjh--