Convert de(4) to use bus-dma

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 17 Aug 2005 15:50:24 -0400
The de(4) driver had some #ifdef'd code in it to use NetBSD's version of 
bus_dma.  I mostly rewrote that and restructured the driver to store metadata 
about descriptors differently.  There's still an #ifdef for bus_dma so it can 
run both with and without bus_dma for now.  It's been running happily on my 
ds20 for a couple of days both ways now, so I'd appreciate it if other folks 
could test the patches.  By default, the patches leave bus_dma disabled, and 
I'd prefer that people test the driver both with and without bus_dma.  To 
enable bus_dma, simply edit the line in if_de.c that has
'//#define TULIP_BUS_DMA' and removing the leading '//' from the line.  
Thanks.

Patch is at http://www.FreeBSD.org/~jhb/patches/de_busdma.patch

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Wed Aug 17 2005 - 17:49:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:41 UTC