svn commit: r279828 - head/sys/dev/cadence
Ian Lepore
ian at freebsd.org
Tue Mar 10 18:00:33 UTC 2015
On Tue, 2015-03-10 at 13:25 +0300, Gleb Smirnoff wrote:
> 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.
>
Hrm, I know nothing about the cgem driver and very little about ethernet
drivers in general (despite having "written" one, mostly by cut and
paste from working drivers). I was committing this on behalf of a
non-committer contributor who maintains the Xilinx/Zynq arm code.
I just noticed I forgot to add to the commit...
Submitted by: Thomas Skibo
I'll add him to the CC on this, in case he has time to work up a
patchset for the projects/ifnet branch for you.
-- Ian
More information about the svn-src-all
mailing list