Re: Further on P4R800-VM and 3c59x
Bogdan Costescu <[email protected]> Sun, 11 Jan 2004 20:55:44 +0100 (CET)
| Newsgroups | gmane.linux.drivers.vortex.devel |
|---|---|
| Message-ID | <Pine.LNX.4.44.0401112024130.17460-100000@kenzo.iwr.uni-heidelberg.de> |
OK, I got another idea: maybe it has to do with the reset or not of the transmit logic along with TxReset and/or RxReset. So I'd like to try several combinations, which all involve modifications in the initial part of the "start_operation" routine (line 1297 in my copy of Za driver): - no TxReset and no RxReset (this is a bit crazy, but if the card comes up in a working state and the driver is destroying this): just comment out the whole region starting with "outw(TxReset" and ending just above "outw(SetStatusEnb" (lines 1303-1320). Before trying this, please do a cold reboot (either press the Reset button, or power off/on) and make sure that the modiffied driver is the first one that touches the hardware (no default 3c59x driver loaded by a combination of ifconfig up and alias eth0 3c59x in /etc/modules.conf !) - TxReset with a mask: 0, 2, 4 and 6. For this the line 1303 should look like: outw(TxReset | 4, ioaddr + EL3_CMD); - RxReset with a mask: 0, 2, 4, and 6. For this the line 1308 should look like: outw(RxReset | 4, ioaddr + EL3_CMD); I would think that the presence of "| 4" or absence of any mask (AKA "| 0") is the most probable to make a difference, so start with them. The default in the driver is "TxReset" and "RxReset | 4", so you can skip this one :-) For Donald and for the archives: I have asked Andrej to dump the EEPROM content past the area normally displayed by vortex-diag, using a modified version that I sent Donald about 1-1.5 years ago, but never made its way into the released versions. This is the so called "flexible format" and can contain opcodes of commands to the card that the card would execute at any initialization (like power-up). The content from this card is smaller than from 905C cards, it doesn't have the setup for the SOS magic packets, it does have however the setup for wake-up magic packets. The initialization is done with "TxReset | 4" and "RxReset | 4". -- Bogdan Costescu IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868 E-mail: [email protected] _______________________________________________ vortex mailing list [email protected] http://www.scyld.com/mailman/listinfo/vortex