[yellowfin] sym53C885 eeprom and station address
Dave Williams
dave@flashy.demon.co.uk
Mon, 29 May 2000 20:30:23 +0100
Robbie,
Using Microbus MAT891 cards with the SYM53C885 I have done some testing
which tends to suggest two problems -
EEPROM and using remapped memory.
V1/02 driver
------------
V1.02 driver running with kernel 2.2.12-20 (RedHat 6.2) allows ping and
nslookup
but does not allow telnet ftp etc.
Maybe it is due to the protocols wanting to talk directly using the
station address.
The Syslog shows:
May 28 22:57:08 bill kernel: yellowfin.c:v1.02 7/26/98 Written by
Donald Becker, becker@cesdis.edu
May 28 22:57:08 bill kernel:
http://cesdis.gsfc.nasa.gov/linux/drivers/yellowfin.html
May 28 22:57:08 bill kernel: eth0: Symbios SYM83C885 type 20701 at
0xe400, 79:79:00:00:00:00, IRQ 10.
May 28 22:57:08 bill kernel: eth0: MII PHY found at address 31, status
0x7829 advertising 01e1.
May 28 22:57:08 bill kernel: PCI latency timer (CFLT) is unreasonably
low at 32. Setting to 64 clocks.
Didnt get to successfully install your +4 offset EEPROM mods with the
1.02 driver
(problem with modversions & unresolved symbols) but see below.
V1.04 driver
------------
Nothing works - notably the syslog inicating type ffffffff with station
address ff:ff:ff:ff:ff:ff
I modified pci-scan.c to give some more information after the point
ioremap() is called by dumping the ioaddr region:
(Caution it is a different machine from that used in the above test)
May 28 17:29:48 ben kernel: yellowfin.c:v1.04a 5/25/2000 Written by
Donald Becker <becker@scyld.com>
May 28 17:29:48 ben kernel:
http://www.scyld.com/network/yellowfin.html
May 28 17:29:48 ben kernel: Found Symbios SYM83C885 at PCI address
0xee002000, mapped IRQ 10.
May 28 17:29:48 ben kernel: PCI Address remapped to kernel address
0xd0832000
May 28 17:29:48 ben kernel: Probe1 eth0: Symbios SYM83C885 type ffffffff
at 0xd0832000,
May 28 17:29:48 ben kernel: Direct Mem dump:
May 28 17:29:48 ben kernel: 00: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:48 ben kernel: 10: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:48 ben kernel: 20: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:48 ben kernel: 30: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:48 ben kernel: 40: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:48 ben kernel: 50: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:48 ben kernel: 60: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:48 ben kernel: 70: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:49 ben kernel: 80: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:49 ben kernel: 90: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:49 ben kernel: a0: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:49 ben kernel: b0: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:49 ben kernel: c0: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:49 ben kernel: d0: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:49 ben kernel: e0: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff
May 28 17:29:49 ben kernel: f0: ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff End of dump
May 28 17:29:49 ben kernel: Reading EEPROM:
May 28 17:29:49 ben kernel: Station Address: ff:ff:ff:ff:ff:ff, IRQ 10.
I wandered round the kernel source tracing the ioremap() call but didnt
yield anything obvious
that I could understand but clearly there is something amiss here.
Nothing unusual set in the BIOS (eg PNP switched off)
Perhaps Donald or a kernel expert is able to assist.......
Recompiling using -DUSE_IO_OPS and applying the +4 offset EEPROM mod
gave:
May 28 20:26:42 ben kernel: yellowfin.c:v1.04b 5/25/2000 Written by
Donald Becker <becker@scyld.com>
May 28 20:26:42 ben kernel:
http://www.scyld.com/network/yellowfin.html
May 28 20:26:42 ben kernel: Found Symbios SYM83C885 at PCI address
0xe401, mapped IRQ 10.
May 28 20:26:42 ben kernel: Using PCI IO Space
May 28 20:26:42 ben kernel: Probe1 eth0: Symbios SYM83C885 type 20701
at 0xe400,
May 28 20:26:42 ben kernel: Direct Mem dump:
May 28 20:26:42 ben kernel: 00: 00 00 00 00 00 00 00 00 00 00 00 00 40
08 00 00
May 28 20:26:42 ben kernel: 10: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00
May 28 20:26:42 ben kernel: 20: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00
May 28 20:26:42 ben kernel: 30: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00
May 28 20:26:42 ben kernel: 40: 00 00 00 00 00 00 00 00 00 00 00 00 20
17 00 0a
May 28 20:26:42 ben kernel: 50: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00
May 28 20:26:42 ben kernel: 60: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00
May 28 20:26:42 ben kernel: 70: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00
May 28 20:26:42 ben kernel: 80: 00 00 00 00 00 00 00 00 00 00 00 00 01
07 02 00
May 28 20:26:42 ben kernel: 90: 00 00 4a 00 00 00 00 00 00 00 00 00 00
00 0f 1f
May 28 20:26:42 ben kernel: a0: 00 00 00 00 00 00 00 00 1f 06 00 00 00
00 00 00
May 28 20:26:42 ben kernel: b0: 00 00 00 00 00 00 00 00 f7 00 01 00 00
00 00 00
May 28 20:26:42 ben kernel: c0: 15 00 00 00 00 00 00 00 00 00 00 00 8a
21 00 00
May 28 20:26:42 ben kernel: d0: 00 00 00 80 79 02 3b 16 00 00 00 00 00
00 00 00
May 28 20:26:42 ben kernel: e0: 00 04 09 18 00 e0 82 02 61 00 00 00 04
00 01 20
May 28 20:26:42 ben kernel: f0: 00 00 00 5f 00 00 00 00 00 00 00 00 00
00 00 00
May 28 20:26:42 ben kernel: End of dump
May 28 20:26:42 ben kernel: Reading EEPROM:
May 28 20:26:42 ben kernel: Station Address: 00:80:79:02:3b:16, IRQ 10.
May 28 20:26:42 ben kernel: eth0: MII PHY found at address 31, status
0x7829 advertising 01e1.
and a working driver! However I guess there may be a performance hit
here.
Unfortunately LSILogic (who seem to have bought Symbios after they
bought NCR)
are currently unable to supply chipset documentation for the Ethernet
"half"
of their device as it is currenlty out of print so I am unable to check
out your
observations on the EEPROM offsets until they get more printed.
regards
Dave
(dave at flashy.demon.co.uk
& dave.williams at eyretel.com)