Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2009 12:17:05 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Stanislav Sedov <stas@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r192018 - head/sys/arm/at91
Message-ID:  <200905121217.06048.jhb@freebsd.org>
In-Reply-To: <200905121607.n4CG78wX026915@svn.freebsd.org>
References:  <200905121607.n4CG78wX026915@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> 
> Log:
>   - 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() 
though.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905121217.06048.jhb>