DragonFly BSD
DragonFly kernel List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: bus_dma patch for fxp


From: Jeroen Ruigrok/asmodai <asmodai@xxxxxx>
Date: Sun, 9 Jan 2005 09:52:24 +0100

-On [20050109 01:52], Chuck Tuffli (chuck_tuffli@xxxxxxxxxxx) wrote:
>FreeBSD 5.x converted the fxp (Intel Pro 100 NIC) driver to use bus_dma, 
>and it turned out to be not too hard to bring it into dfly. Testing 
>consisted of running buildworld over NFS. This is the first time I've 
>worked on a NIC driver so I'd appreciate someone more experienced 
>looking this over. Especially things like the FXP_LOCKED macro. The 5.x 
>driver used this in a couple of places, but I wasn't sure it made sense 
>in our environment, so I just nuked the references.

The FXP_LOCKED macro stuff is probably very specific to their mutex SMP lock
down work.  That should not be done on DFly in the same way.

OTOH, I haven't done much on the locking kernel-wise to tell you what you
must do though.  Too much userland code I am messing with.  Sorry.

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/
http://www.tendra.org/   | http://www.in-nomine.org/
My greatest fear...  Is that all my Memories will be lost...  Like
tears, in the rain...



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]