Intel-brand 21143 CardBus card

Donald Becker becker@cesdis1.gsfc.nasa.gov
Tue Apr 13 01:27:15 1999


On Mon, 12 Apr 1999, KOGAN_VADIM wrote:

> Subject: RE: Intel-brand 21143 CardBus card
> > > btw, dump_cis shows
> > > lan_node_id 00 a0 c9 bb 00 3a
> > But the PCI+CardBus drivers do not deal with the CIS.
> > That's a design decision I'm not going to change for a single card.
> But is this true MAC address?

Yes.  Intel has the prefix 00:A0:C9, so this is likely correct.
Once everything else is working you can put
  ifconfig eth0 hwaddr 00:a0:c9:bb:00:3a
in the start-up script to set the correct address.

It's also possible to write the address and a media table to the EEPROM.
This won't interfere with the existing setting and will make the card
work in a standard way.

[[ Perhaps Intel already has a program to upgrade the card's EEPROM. ]]

> > CSR15 settings.  We can set CSR15 to typical values and see if the
> > transceiver comes on:
> >    tulip-diag -p 0x400 -t 4 -G 0x08af0000
> >    tulip-diag -p 0x400 -t 4 -G 0x00a50000
...
> > These are the settings in the Digital design example.
> > Most card designers use the example design unless there is a 
..
> Ghm, where are docs for this stuff? I'm still a little bit confused
> when you're talking about those regs. But anyway, I'm willing to try
> anything you consider to be helpful (and I guess that it's kinda Ok to
> burn the card, but we better know that we did it, so that there won't
> try to get anything out of dead card).

The documentation for the CSR15 register is in the 21143 hardware reference
manual.  The example EEPROM is from the 21143 design kit.  I don't have a
design kit, but all of the incorrect EEPROM media tables are the same.

There usually isn't much of a danger with incorrect settings, but I'm not
going to recommend experimentation as a regular thing.  It's a warning like
"Do not insert Q-tip into ear" -- I just don't want to blamed if something
goes wrong.

If you are talking about the documentation for the 'tulip-diag' program,
well, only the commonly used options are documented.
   http://cesdis.gsfc.nasa.gov/linux/diag/index.html
The undocumented options are used for specific tasks, such as figuring out
how a card is supposed to work.

Donald Becker					  becker@cesdis.gsfc.nasa.gov
USRA-CESDIS, Center of Excellence in Space Data and Information Sciences.
Code 930.5, Goddard Space Flight Center,  Greenbelt, MD.  20771
301-286-0882	     http://cesdis.gsfc.nasa.gov/people/becker/whoiam.html