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
..
2009-01-08 10:50:20 -08:00
2008-12-08 01:14:16 -08:00
2009-01-07 17:23:17 -08:00
2009-01-06 11:07:54 -08:00
2009-01-04 17:29:21 -08:00
2009-01-11 00:17:22 -08:00
2008-12-10 15:18:31 -08:00
2009-01-06 16:45:26 -08:00
2008-11-03 18:21:05 -08:00
2009-01-06 10:44:34 -08:00
2008-11-25 17:59:00 -08:00
2009-01-07 17:24:34 -08:00
2009-01-08 08:31:15 -08:00
2009-01-11 00:06:33 -08:00
2008-11-03 18:21:05 -08:00
2008-11-19 18:49:57 -08:00
2009-01-04 15:14:41 -05:00