From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261639AbVFPMPF (ORCPT ); Thu, 16 Jun 2005 08:15:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261649AbVFPMPF (ORCPT ); Thu, 16 Jun 2005 08:15:05 -0400 Received: from loopy.telegraphics.com.au ([202.45.126.152]:44996 "EHLO loopy.telegraphics.com.au") by vger.kernel.org with ESMTP id S261637AbVFPMO4 (ORCPT ); Thu, 16 Jun 2005 08:14:56 -0400 Date: Thu, 16 Jun 2005 22:14:52 +1000 (EST) From: Finn Thain To: Ralf Baechle Cc: Geert Uytterhoeven , Jeff Garzik , Linux/m68k , Linux/m68k on Mac , Linux MIPS , Linux kernel , Thomas Bogendoerfer Subject: Re: [PATCH] Jazzsonic driver updates In-Reply-To: <20050616092257.GE5202@linux-mips.org> Message-ID: References: <200503070210.j272ARii023023@hera.kernel.org> <20050323100139.GB8813@linux-mips.org> <20050615114158.GA9411@linux-mips.org> <20050615142717.GD9411@linux-mips.org> <20050616092257.GE5202@linux-mips.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 16 Jun 2005, Ralf Baechle wrote: > On Thu, Jun 16, 2005 at 03:45:54AM +1000, Finn Thain wrote: > > > > ... the chip then decides where in that area the recieved packet gets > > > buffered ... and that is why I was asking for an alternative to > > > vdma_log2phys... > > > > But I forgot that it is possible to have the sonic chip store no more than > > one packet in each buffer before moving to the next one in the ring > > (though this isn't the case at present). So, as you say, vdma_log2phys > > isn't really required. > > Using that option doesn't really seem a good idea anyway. Sorry, I mislead you (it has been 4 months since I looked at this). The existing code does only permit one packet per buffer. I did the same in my zero-copy version. So vdma_log2phys really isn't needed, and my patch actually removed it along with the memcpy. -f > > Ralf > - > To unsubscribe from this list: send the line "unsubscribe linux-mips" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >