[vortex] Mini PCI card question

Donald Becker becker@scyld.com
Wed, 27 Sep 2000 02:34:03 -0400 (EDT)


On 27 Sep 2000, Roger Williams wrote:

> >>>>> Donald Becker <becker@scyld.com> writes:
> 
>   > I've updated vortex-diag.c with a better algorithm for figuring
>   > out where the software information fields are.
> 
> Hmm, It's a bit different, but I don't know if it's more accurate:
> 
> [root@grouper vortex]# ./vortex-diag -ee
> vortex-diag.c:v2.03 9/26/2000 Donald Becker (becker@scyld.com)
>  http://www.scyld.com/diag/index.html
> Index #1: Found a 3c566 Laptop Tornado adapter at 0x1800.
> EEPROM contents (64 words, offset 0x30):

Good so far...

>  0x000: 2978 6056 0040 8060 0040 0000 0000 0080
>  0x008: 0000 0000 0000 0000 0000 0000 0000 0000
>  0x010: 0000 0000 0000 0000 0000 0000 10b7 6356
>  0x018: 0000 0000 0000 0000 0000 0000 0000 0a0a
>  0x020: ff29 2829 0008 0000 0000 0000 0000 0000
>  0x028: 0000 ff01 0000 0000 0000 0000 0000 0000
>  0x030: 0000 8643 97c4 6056 0061 0009 0000 6d50
>  0x038: 2970 0009 0000 8643 97c4 0010 0000 00aa
>  The word-wide EEPROM checksum is 0xe3f1.
> Parsing the EEPROM of a 3Com Vortex/Boomerang:
>  3Com Node Address 29:78:60:56:00:40 (used as a unique ID only).

Ooops, the parsed output doesn't use the offset that we did correctly
calculate above...

Around line 1111 change
	printf("Parsing the EEPROM of a 3Com Vortex/Boomerang:\n");
-	if (eeprom[0] == .....
+	if (eeprom[0x37] == 0x6d50) {
		printf(" The CardBus product ID is %4.4x %4.4x.\n",
			   eeprom[0], eeprom[1]);

I've made this change to the development vortex-diag.c, but I'll wait for
your report to release the update.

Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Beowulf-II Cluster Distribution
Annapolis MD 21403