Re: 82551ER eeprom

Donald Becker <[email protected]> Sun, 10 Aug 2003 18:40:47 -0400 (EDT)
Newsgroups gmane.linux.drivers.eepro100.devel
Message-ID <Pine.LNX.4.44.0308101835540.10446-100000@beohost>
On Tue, 5 Aug 2003, Fathi BOUDRA wrote:

> i try to program the 82551ER eeprom.
> 
> When i receive the eeprom, his contents was :
> 
> eepro100-diag -#2 -aaeem
> eepro100-diag.c:v2.12 4/15/2003 Donald Becker ([email protected])
>  http://www.scyld.com/diag/index.html
> Index #2: Found a Intel 82559ER EtherExpressPro/100+ adapter at 0xe400.
> i82557 chip registers at 0xe400:
>   00000000 00000000 00000000 00080002 10000000 00000000
>   No interrupt sources are pending.
>    The transmit unit state is 'Idle'.
>    The receive unit state is 'Idle'.
>   This status is unusual for an activated interface.
> EEPROM contents, size 64x16:
>     00: ffff ffff ffff ffff ffff ffff ffff ffff  ________________
...
>   0x38: ffff ffff ffff ffff ffff ffff ffff bafb  ________________
>  The EEPROM checksum is correct.

This is strange -- the EEPROM is clearly blank, except for the
checksum.  How did this happen?

> I used the -H, -G parameters and changed the eeprom_id, subsystem_id and 
> subsystem_vendor :

You also have to change the other settings to match the chip
capabilities and the board design.

>   Station address 00:11:22:33:44:55.

OK, that's clearly made up.  Set the "locally administered" bit
   40:00:00:--:--:--
if you are going to do this.

>   Receiver lock-up bug exists. (The driver work-around *is* implemented.)

You don't know if this chip has the problem or not, but this safe.

>   Board assembly 000000-000, Physical connectors present: RJ45
>   Primary interface chip DP83840 PHY #1.

This is definitely wrong.  You do not have an external transceiver.

>   Transceiver-specific setup is required for the DP83840 transceiver.

And the special MII writes required for that transceiver may disrupt the
operation of the transceiver on the chip.

> All these things doesn't work. I read the "online" 82551er datasheet but it 
> doesn't help me (they explain only  the words 00h to 02h and 0Ah to 0Ch).

You might need the real datasheet from Intel, with the real information,
not the summary available on-line.

-- 
Donald Becker				[email protected]
Scyld Computing Corporation		http://www.scyld.com
914 Bay Ridge Road, Suite 220		Scyld Beowulf cluster system
Annapolis MD 21403			410-990-9993