[vortex] problems with 3c900 TPO boomerang and kernel 2.4.9 or later
dsp@gmx.li
dsp@gmx.li
Wed Jan 30 20:06:28 2002
On Tue, 29 Jan 2002 13:08:10 -0800
Andrew Morton <akpm@zip.com.au> wrote:
> Around line 479 or drivers/net/3c59x.c:
>
> {"3c900 Cyclone 10Mbps TPO", /* AKPM: from Don's 0.99M */
> PCI_USES_IO|PCI_USES_MASTER, IS_CYCLONE|HAS_NWAY|HAS_HWCKSM, 128, },
>
>
> Please remove the "HAS_NWAY|" and re-test.
>
Hi,
Ok, i changed that and recompiled the kernel[ 2.4.17 ],
mii-diag seems to be a lot happier, vortex-diag also delivers a slightly
different result, the checksum for vortex is not ok but for the others it is.
The box only crashed when transfering bigger files and i haven't tested that
yet.
If it happens again i'll repost on this thread,
if it doesn't within a week i'll also make a post.
The results are:
--------------------------------------------------------------------------
root@wintermute>./mii-diag -v
mii-diag.c:v2.02 5/21/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Using the default interface eth0.
Basic mode control register 0x1100: Auto-negotiation enabled.
You have link beat, and everything is working OK.
This transceiver is capable of 10baseT-FD 10baseT.
Able to perform Auto-negotiation, negotiation complete.
Your link partner is generating 10baseT link beat (no autonegotiation).
End of basic transceiver information.
MII PHY #24 transceiver registers:
1100 182d 0000 0000 0061 0020 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
--------------------------------------------------------------------------
root@wintermute>./vortex-diag -aaee
vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c900 Cyclone 10Mbps TPO adapter at 0xe880.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the -f flag.
Initial window 7, registers values by window:
Window 0: 0000 0000 0000 0000 fdfd 00bf 0000 0000.
Window 1: FIFO FIFO 0000 0000 0000 0000 0000 2000.
Window 2: 5000 43da ac24 0000 0000 0000 0022 4000.
Window 3: 0000 0180 05ea 0000 0008 0800 07f8 6000.
Window 4: 0000 00d0 8000 0ec8 0001 98a0 0000 8000.
Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
Window 6: 0000 0100 0000 1c01 0100 5fee 9557 c000.
Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xe880
0xE890: **FIFO** 00000000 00000024 *STATUS*
0xE8A0: 00000020 00000000 00080000 00000004
0xE8B0: 00000000 2967d699 038121d0 00080004
Indication enable is 06c6, interrupt enable is 06ce.
No interrupt sources are pending.
Transceiver/media interfaces available: 10baseT.
Transceiver type in use: Autonegotiate.
MAC settings: half-duplex.
Station address set to 00:50:da:43:24:ac.
Configuration options 0022.
EEPROM contents (64 words, offset 0):
0x000: 0050 da43 24ac 9004 c766 0036 5157 6d50
0x008: c171 0000 0050 da43 24ac 0010 0000 0006
0x010: 22a2 0000 0000 0180 0000 0000 0000 10b7
0x018: 9004 0008 0000 0000 0000 0000 0000 0000
0x020: 00a4 0000 0000 0000 0000 0000 0000 0000
0x028: 0000 0000 0000 0000 0000 0000 0000 0000
0x030: 0000 0000 0000 0000 0000 0000 0000 0000
0x038: 0000 0000 0000 0000 0000 0000 0000 0000
The word-wide EEPROM checksum is 0x9bd5.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
3Com Node Address 00:50:DA:43:24:AC (used as a unique ID only).
OEM Station address 00:50:DA:43:24:AC (used as the ethernet address).
Manufacture date (MM/DD/YYYY) 11/6/1999, division 6, product WQ.
Options: negotiated duplex, link beat required.
Vortex format checksum is incorrect (009f vs. 10b7).
Cyclone format checksum is correct (0xa4 vs. 0xa4).
Hurricane format checksum is correct (0xa4 vs. 0xa4).
--------------------------------------------------------------------------
Thanks for the help.
Cheers,
David
--
"You said I wasn't cheap,
You paid me 20 pounds"