From: Dan Williams Date: Sun, 11 Jan 2009 08:20:39 +0000 (-0800) Subject: net_dma: acquire/release dma channels on ifup/ifdown X-Git-Tag: v2.6.29-rc2~105^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=649274d993212e7c23c0cb734572c2311c200872;p=pandora-kernel.git net_dma: acquire/release dma channels on ifup/ifdown The recent dmaengine rework removed the capability to remove dma device driver modules while net_dma is active. Rather than notify dmaengine-clients that channels are trying to be removed, we now rely on clients to notify dmaengine when they no longer have a need for channels. Teach net_dma to release channels by taking dmaengine references at netdevice open and dropping references at netdevice close. Acked-by: Maciej Sosnowski Signed-off-by: Dan Williams Signed-off-by: David S. Miller --- Reading git-diff-tree failed