RE: 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 (robbert@radium.jvb.tudelft.nl)
Thu, 11 Oct 2001 21:19:19 +0200


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..
>

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