[Top] [All Lists]

Re: smc91x support

To: Atsushi Nemoto <>
Subject: Re: smc91x support
From: Pantelis Antoniou <>
Date: Thu, 10 Nov 2005 17:37:08 +0200
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=oDMCejdXqKENZg8cJ/aXqQy97Ath27pj6dqknBayszhvIzC7wefy8wcvj1PiWR8Uzb4ZzXregp551Tep2zg2abQZvNK92HBzIK7FBDkoO3e1hCSPC0PLOgsNvMDMPf3AzG4XBMeBMtbTl+FUNJx0+uIfCsqMfHd8AprlJKGsIEQ=
In-reply-to: <>
Original-recipient: rfc822;
References: <1131634331.18165.30.camel@localhost.localdomain> <>
User-agent: KMail/1.8
On Thursday 10 November 2005 17:15, Atsushi Nemoto wrote:
> >>>>> On Thu, 10 Nov 2005 15:52:11 +0100, Matej Kupljen 
> >>>>> <> said:
> matej> What is the patch required for smc91x.h?
> I also want to know about the patch.
> matej> I also added support for smc91x.h to enable it on the DBAU1200,
> matej> but as I wrote in another mail, I get bad performance.  I
> matej> enabled the debug mode and I now I see that I get a lot of
> matej> overruns, like:
> matej> ...
> matej> [4294761.172000] eth0: RX overrun (EPH_ST 0x0001)
> matej> [4294761.190000] eth0: RX overrun (EPH_ST 0x0001)
> matej> [4294761.198000] eth0: RX overrun (EPH_ST 0x0001)
> matej> ...
> matej> Is there any solution to this?
> I have similar problem on my several custom boards with SMC91C111.  I
> see so many RX overrun, but I can not see why it happens.  Forcing to
> 10Mbps/HalfDuplex reduced the overrun count (and works better than
> 100Mbps), but it is not preferable, of course ...
> ---

I'm afraid there's not much that you can do...

The old driver just didn't report the overruns. The generic one 
does, that's why you see the overrun error.

And yes performance is bad with this chip. I'm not sure if DMA would
help much, since the overrun occurs because the chip does not have
enough internal buffers. I don't think that we can service the interrupts
fast enough to prevent the overruns...

IMHO the only solution is to use a decent chip...

> Atsushi Nemoto



<Prev in Thread] Current Thread [Next in Thread>