svn commit: r279828 - head/sys/dev/cadence

Gleb Smirnoff glebius at FreeBSD.org
Tue Mar 10 10:25:28 UTC 2015


On Mon, Mar 09, 2015 at 10:39:59PM +0000, Ian Lepore wrote:
I> Author: ian
I> Date: Mon Mar  9 22:39:58 2015
I> New Revision: 279828
I> URL: https://svnweb.freebsd.org/changeset/base/279828
I> 
I> Log:
I>   Use the new ifnet API.  Also, allocate bus_dma_maps as needed instead of
I>   pre-allocating them all at start-up.  Also fix a bug in cgem_stop(); before,
I>   it wasn't properly unloading dma maps due to a cut-and-paste error.

Ian, the new ifnet API isn't the last word in ifnet API. :)

Since you are already into that, I'd appreciate if you look
into projects/ifnet branch and convert cgem(4) to it.

As examples, you can look at msk(4), bge(4), xl(4) and vtnet(4)
in the branch.

-- 
Totus tuus, Glebius.


More information about the svn-src-head mailing list