svn commit: r192018 - head/sys/arm/at91
jhb at freebsd.org
Tue May 12 18:26:50 UTC 2009
On Tuesday 12 May 2009 12:07:08 pm Stanislav Sedov wrote:
> Author: stas
> Date: Tue May 12 16:07:08 2009
> New Revision: 192018
> URL: http://svn.freebsd.org/changeset/base/192018
> - Implement detach path.
> - Release memory and DMA resources on stop.
> - Unload the associated DMA maps after transmit is complete.
Most NIC drivers that I am familiar with do not destroy DMA resources (tags
and maps) during stop() and then create them during if_init(). Instead, they
create those during attach() and detach(). They do tend to populate the RX
ring with buffers during if_init() and free all of the mbus during stop()
More information about the svn-src-all