Subject: Re: PCMCIA if_ne: struct ne2000dev
To: Ingolf Koch <>
From: Ignatios Souvatzis <>
List: tech-kern
Date: 01/18/1999 18:24:09
On Mon, Jan 18, 1999 at 12:41:21PM +0100, Ingolf Koch wrote:
> [struct ne2000dev, especially on the enet_maddr entry
>  in /usr/src/sys/dev/pcmcia/if_ne_pcmcia.c]
> On Mon, Jan 18, 1999 at 01:09:33AM +0100, Ignatios Souvatzis wrote:
> > Apparently it is not known how to get the Ethernet
> > address in a general way out of the PCMCIA CIS information of ne2000 pcmcia
> > cards, so it was chosen to have an table of card name vs. address offset in
> > configuration space.
> Does that mean: "there is no way to extract the address" or rather
> "there probably is one, but we do not know"?

I guess the latter. Although PC peripheral designers have done a lot of
stupid things, so I wouldn't be surprised if there wasn't any way. Sane
chipsets have a way to do this.

I guess something with a ne card should dump the CIS structure... if there
is a sane tag to look for, it should be obvious.