[eepro100] Sleep Bit mode and EEPROM fix?
Kallol Biswas
kallol@bugula.fpk.hp.com
Wed, 13 Jun 2001 17:07:05 EDT
To turn off sleepmode 0x40a2 should be 0x40a0, infact
it is the bit at position 1 if we count from 0.
>
> On Wed, 13 Jun 2001, Gordon Gere wrote:
>
> > 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.
> ...
> > Perhaps I missed, but I assume that the "^---" is where the sleep bit is.
>
> I'm uncertain if "bit 2" means 0x0002 or 0x0004.
> I have only the '557 and '558 manuals, which both list word 10 as reserved.
>
> > 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.
>
> The output above is the EEPROM contents.
> The boot ROM is technically also an EEPROM, but I refer to it as "Flash"
> to distinguish it from the much smaller serial EEPROM that contains the
> configuration information.
>
> I'll update the diagnostic program...
>
> Donald Becker becker@scyld.com
> Scyld Computing Corporation http://www.scyld.com
> 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters
> Annapolis MD 21403 410-990-9993
>
>
> _______________________________________________
> eepro100 mailing list
> eepro100@scyld.com
> http://www.scyld.com/mailman/listinfo/eepro100
>
--
Phone: 973-443-7469 | Design Engineer
Telnet: 1-443-7469 | EIAL UNIX OS LAB
www.kallolbiswas.com | Hewlett Packard Company
kallol_biswas@hp.com | Florham Park, NJ