Dan Williams 649274d993 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 <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-11 00:20:39 -08:00
..
2008-11-14 00:53:54 -08:00
2008-12-15 23:44:31 -08:00
2008-11-07 22:52:34 -08:00
2008-11-25 17:35:18 -08:00
2008-11-25 17:31:51 -08:00
2008-11-19 21:40:23 -08:00
2008-11-18 18:52:37 +11:00
2009-01-04 16:13:40 -08:00
2008-07-25 10:53:29 -07:00