public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Robbert Kouprie" <robbert@radium.jvb.tudelft.nl>
To: "'Alan Cox'" <alan@lxorguk.ukuu.org.uk>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: eepro100.c bug on 10Mbit half duplex (kernels 2.4.5 / 2.4.10 / 2.4.11pre6 / 2.4.11 / 2.4.10ac11)
Date: Thu, 11 Oct 2001 21:19:19 +0200	[thread overview]
Message-ID: <003301c15289$a03130a0$020da8c0@nitemare> (raw)
In-Reply-To: <E15rjR4-000400-00@the-village.bc.nu>

I looked a bit deeper. In linux-2.4.10-ac11/drivers/net/eepro100.c:

line 802:
       if ((pdev->device=0x2449) || ( (pdev->device > 0x1030) &&
(pdev->device < 0x1039) )) 
               sp->chip_id = 1;

line 1358:
        /* workaround for hardware bug on 10 mbit half duplex */

        if ((sp->partner==0) && (sp->chip_id==1)) {
                wait_for_cmd_done(ioaddr + SCBCmd);
                outb(0 , ioaddr + SCBCmd);
        }

Maybe we need another device id at line 802? The work-around seems to
stay untriggered this way.
 
My device's id is: 	8086:1229 - Intel, 82557 [Ethernet Pro 100]
The present ids are: 	8086:1030 - 82559 InBusiness 10/100
				8086:1031-1039 - are not listed in my db
				8086:2449 - 82820 820 (Camino 2) Chipset
Ethernet

For one thing, in Linus' 2.4.12 the if condition at line 802 isn't
present at all, so that sure isn't gonna work.

Regards,
- Robbert

> -----Original Message-----
> From: Alan Cox [mailto:alan@lxorguk.ukuu.org.uk] 
> Sent: donderdag 11 oktober 2001 19:16
> To: Robbert Kouprie
> Cc: 'John Gluck'; linux-kernel@vger.kernel.org
> Subject: Re: eepro100.c bug on 10Mbit half duplex (kernels 
> 2.4.5 / 2.4.10 / 2.4.11pre6 / 2.4.11 / 2.4.10ac11)
> 
> 
> > files. It would always lockup after said amount of traffic, 
> but only in
> > 10 Mbit half duplex mode. Also, I have the 82557, not the 
> 82558 chip.
> > 
> > The problem looks a lot like what should be fixed in this 
> changelog line
> > from 2.4.9-ac13:
> 
> Check the workaround is being activated for your eepro100..
> 


  parent reply	other threads:[~2001-10-11 19:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-11 12:29 eepro100.c bug on 10Mbit half duplex (kernels 2.4.5 / 2.4.10 / 2.4.11pre6 / 2.4.11 / 2.4.10ac11) Robbert Kouprie
2001-10-11 16:27 ` John Gluck
2001-10-11 16:52   ` Robbert Kouprie
2001-10-11 17:15     ` Alan Cox
2001-10-11 17:29       ` Robbert Kouprie
2001-10-11 19:19       ` Robbert Kouprie [this message]
2001-10-11 19:34         ` Alan Cox
2001-10-11 21:02           ` Robbert Kouprie
2001-10-11 17:42 ` Matthew S. Hallacy
2001-10-11 20:08   ` Ion Badulescu
2001-10-11 20:16     ` Dan Hollis
  -- strict thread matches above, loose matches on Subject: below --
2001-10-12  8:41 Robbert Kouprie
2001-10-12 13:40 ` Ion Badulescu
2001-10-13 18:16   ` Robbert Kouprie

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='003301c15289$a03130a0$020da8c0@nitemare' \
    --to=robbert@radium.jvb.tudelft.nl \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /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