[Top] [All Lists]

Re: [PATCH][MIPS][7/7] AR7: ethernet

To: Andrew Morton <>
Subject: Re: [PATCH][MIPS][7/7] AR7: ethernet
From: Geert Uytterhoeven <>
Date: Fri, 7 Sep 2007 09:10:00 +0200 (CEST)
Cc: Matteo Croce <>,,,,,,,,,,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
On Thu, 6 Sep 2007, Andrew Morton wrote:
> > On Thu, 6 Sep 2007 17:34:10 +0200 Matteo Croce <> 
> > wrote:
> > Driver for the cpmac 100M ethernet driver.
> > It works fine disabling napi support, enabling it gives a kernel panic
> > when the first IPv6 packet has to be forwarded.
> > Other than that works fine.
> The driver does a lot of open-coded dma_cache_inv() calls (in a way which
> assumes a 32-bit bus, too).  I assume that dma_cache_inv() is some mips

No, even i386 has it ;-)

> thing.  I'd have thought that it would be better to use the dma mapping API
> thoughout the driver, and its associated dma invalidation APIs.

However, Ralf just posted a patch to remove it on all architectures, and
driver writers should consider it gone.



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

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