Subject: Re: ATM en0 driver on sbus
To: Chuck Cranor <chuck@maria.wustl.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 08/14/1998 09:34:15
On Thu, 13 Aug 98 22:17:21 CDT 
 Chuck Cranor <chuck@maria.wustl.edu> wrote:

 > the problem here is that i created if_en_sbus.c before the sparc
 > port had the bus_space functions available so I faked it in midwayreg.h.
 > now that sparc has those macros this hack should be turned off.
 > 
 > there is also the issue of setting up for DMA on systems with IOMMUs
 > (sun4m systems).  i don't think that is properly addressed in the
 > driver either, but that shouldn't be a problem for the sparc2?
 > hard to say since i have not looked at the sparc in a while.   maybe
 > pk (when he gets back from holiday) or mrg can fill in the gaps here?

If the whole "en" driver were bus_dma'd, this would be handled automatically
for you.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942