commit | 74b6f29163490d88ff53f7c54d0e4514bbf1630b | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Tue Apr 14 12:08:00 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 14 14:57:11 2015 -0400 |
tree | 7d9d981d6d5fa3ea6e89e7cd944adfd1d6627084 | |
parent | b9650557f3d58924e3be040df0ff7a3dae19ad83 [diff] |
bgmac: simplify dma init/cleanup Instead of allocating buffers at device init time and initializing descriptors at device open, do both at the same time (during open). Free all buffers when closing the device. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Acked-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>