Subject: Re: mc* performance patch
To: Allen Briggs <briggs@NetBSD.org>
From: Chris Tribo <ctribo@college.dtcc.edu>
List: port-macppc
Date: 01/14/2005 22:18:34
On Fri, 14 Jan 2005, Allen Briggs wrote:

> On Fri, Jan 14, 2005 at 12:15:05AM -0600, Dave Huang wrote:
> > (I suppose that since mac68k has implemented bus_dma for a couple of
> > years now, it's about time I fix the "XXX" and do the right thing
> > there too :)
>
> Skimming over if_mc.c, if_bm.c, and if_gm.c, these drivers could
> really stand to see an introduction to bus_dma(9).  It might also
> be instructive to look at a different driver as a model.

On my Beige G3 running current there's an mc'ish situation where I can
send at 1.1 MB/sec but only receive at 15 kB/sec. Sounds a lot like the mc
problem.

> I think src/sys/dev/pci/if_pcn.c is pretty straight-forward, as
> these things go.
>
> -allen
>
>

-- 
The nice thing about Windows is - It does not just crash, it displays a
dialog box and lets you press 'OK' first.
						-- Arno Schaefer