On Thursday 10 November 2005 17:15, Atsushi Nemoto wrote:
> >>>>> On Thu, 10 Nov 2005 15:52:11 +0100, Matej Kupljen
> >>>>> <email@example.com> 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