mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <andrewm@uow.edu.au>
To: Michael Illgner <fillg1@web.de>
Cc: netdev@oss.sgi.com, linux-kernel@vger.kernel.org
Subject: Re: Problem with 3c59x and 3C905B
Date: Mon, 18 Dec 2000 21:05:23 +1100	[thread overview]
Message-ID: <3A3DE163.5AC30492@uow.edu.au> (raw)
In-Reply-To: <JDEJLKPAIGJAKBJPIALIIEKOCBAA.fillg1@web.de>

Michael Illgner wrote:
> 
> Hi folks,

Hello, Michael.  Good problem report.  You've done this before.

> ...
> Dec 17 19:44:48 ganerc kernel: Full duplex capable

Uh-oh.  Someone has set the `full duplex' bit in your
EEPROM.  Bit 15, word 0x0d.

>...
> Dec 17 19:59:15 ganerc kernel: eth0: MII #24 status 786d, link partner
> capability 40a1

40a1: the link partner is advertising only 10/100 half duplex.

> , setting half-duplex.

heh.  The driver lies.

> ...
>  MAC settings: full-duplex.

But vortex-diag doesn't.  You're running full-duplex.

> ...
> EEPROM contents (64 words, offset 0):
>  0x000: 0010 5ad8 25f1 9055 c579 0036 5051 6d50
>  0x008: 2971 0000 0010 5ad8 25f1 8010 0000 0022
                                   ^
                                  ^^^
> ...
> Options: force full-duplex.

And here is why - it's that EEPROM bit.

> ...
> Any idea what is going wrong here ?

You need to clear that bit - then the driver will run half-duplex.
If you have the 3com DOS-based config tool you can probably do
it with that.  Alternatively, see if you can get vortex-diag
(http://www.scyld.com/diag/) to do it - I find vortex-diag's
EEPROM writing a bit tricky to use.  So be careful to save the
output of `vortex-diag -ee' as a backup first.

You can probably kludge it in the driver with:

    /* Extract our information from the EEPROM data. */
    vp->info1 = eeprom[13];
+   vp->info1 &= ~0x8000;
    vp->info2 = eeprom[15];


Working out why your switch isn't talking full-duplex would
probably make things work too, but it's not a fix.

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-12-18 10:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-18  7:55 Michael Illgner
2000-12-18 10:05 ` Andrew Morton [this message]
2000-12-18 17:29   ` jgoins
2000-12-19  9:56     ` Igmar Palsenberg
2000-12-18 19:16 ` Igmar Palsenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A3DE163.5AC30492@uow.edu.au \
    --to=andrewm@uow.edu.au \
    --cc=fillg1@web.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®