[eepro100] Sleep Bit mode and EEPROM fix?

Gordon Gere gagere@uwo.ca
Wed, 13 Jun 2001 13:39:16 -0400


Hi again,
	Sorry for not reading all of the messages before this, but I just read the
seemingly unrelated message thread about "eepro100 driver frequently dying
in Linux 2.4.4", and came across the bug with the sleep bit mode.  Since
MPICH seems to run faster and therefor stresses the network more perhaps its
because of this that my program "stalls".  Here is my output from
eepro100-diag.

Index #1: Found a Intel i82557/8/9 EtherExpressPro100 adapter at 0xa400.
EEPROM contents, size 64x16:
    00: 0200 1cb3 32d5 0203 0000 0201 4701 0000
  0x08: 7213 8310 40a2 000c 8086 0000 0000 0000
                     ^--- bit 2 of word 10?
      ...
  0x30: 0128 0000 0000 0000 0000 0000 0000 0000
  0x38: 0000 0000 0000 0000 0000 0000 0000 66ae
 The EEPROM checksum is correct.
Intel EtherExpress Pro 10/100 EEPROM contents:
  Station address 00:02:B3:1C:D5:32.
  Board assembly 721383-016, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.

Perhaps I missed, but I assume that the "^---" is where the sleep bit is.

Since Donald Becker posted "If someone reports an EEPROM with the sleep mode
bit set, I'll make the trivial trivial code change to clear it with the '-G'
option.", I would like to provide a copy of my EEPROM but havn't yet figured
out how to get that feature of eepro100-diag + libflash to work.

My compile line for eepro100-diag is:
gcc -O eepro100-diag.c -o diag -DLIBFLASH libflash.c

Perhaps I am doing something wrong, but the command "diag -#1 -Seeprom.out"
doesn't work for me.

Gordon Gere

University of Western Ontario
(519)661-2111 ext. 86353
London, Ontario