Subject: Re: mc* performance patch
To: None <port-macppc@netbsd.org>
From: Allen Briggs <briggs@netbsd.org>
List: port-macppc
Date: 01/14/2005 21:40:39
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.

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

-allen

-- 
                  Use NetBSD!  http://www.netbsd.org/