detecting the Pro/100A with eepro100-diag.c
Dave Cook
dcook@caveduck.com
Sun Feb 27 22:55:39 2000
This is a multi-part message in MIME format.
------=_NextPart_000_0181_01BF815C.9B0CE0B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
It took me way too much mucking around to finally discover that my EEPro100
was in fact the old 100A version. So before I yanked the offending card
from my system I modified Becker's handy eepro100-diag.c program to at least
detect and complain about the 100A with its "82556/82865" chip. Diffs are
attached.
I don't subscribe to this group; just trying to be helpful.
-Dave Cook
dcook@caveduckSPAMBGONE.com
------=_NextPart_000_0181_01BF815C.9B0CE0B0
Content-Type: text/plain;
name="eepro-diag-diffs.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="eepro-diag-diffs.txt"
20c20=0A=
< "eepro100-diag.c:v1.01 7/8/99 Donald Becker =
(becker@cesdis.gsfc.nasa.gov)\n";=0A=
---=0A=
> "eepro100-diag.c:v1.02 2/27/2000 Donald Becker =
(becker@cesdis.gsfc.nasa.gov)\n";=0A=
81a82=0A=
> extern int eepro100a_msg(int vend_id, int dev_id, int ioaddr, int =
part_idx);=0A=
97a99,100=0A=
> { "Intel 82865 (rev 3)", "Intel 82865 EtherExpressPro100A",=0A=
> 0x8086, 0x1227, 0xffff, 0, 0x20, eepro100a_msg },=0A=
627a631,656=0A=
> }=0A=
> return 0;=0A=
> }=0A=
> =0A=
> int eepro100a_msg(int vend_id, int dev_id, int ioaddr, int part_idx)=0A=
> {=0A=
> int i;=0A=
> =0A=
> printf(" ****************\n");=0A=
> printf(" *** This EtherExpress Pro/100A adapter is the early A =
type\n");=0A=
> printf(" *** using the i82556 chip (called the 82865 by the card =
firmware).\n");=0A=
> printf(" *** The Linux eepro100 driver will NOT work with this card, =
and\n");=0A=
> printf(" *** no driver is known to exist.\n");=0A=
> printf(" ****************\n");=0A=
> =0A=
> if (verbose > 1 || show_regs) {=0A=
> printf("i82556 chip registers at %#x:\n ", ioaddr);=0A=
> for (i =3D 0; i < 0x20; i +=3D 4)=0A=
> printf(" %8.8x", inl(ioaddr + i));=0A=
> printf("\n");=0A=
> }=0A=
> if (show_eeprom > 0) {=0A=
> printf(" -e, -ee not supported for this chip.\n");=0A=
> }=0A=
> if (show_mii > 0) {=0A=
> printf(" -m, -mm not supported for this chip.\n");=0A=
------=_NextPart_000_0181_01BF815C.9B0CE0B0--
-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-eepro100-request@beowulf.org