r6040: fix ifconfig down and freeing of tx/rx descriptors
authorFlorian Fainelli <florian@openwrt.org>
Sat, 10 Jan 2009 07:19:26 +0000 (23:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Jan 2009 08:03:38 +0000 (00:03 -0800)
commit58854c6b411e9e9f46b39bd7092022f639c41904
tree016f5684864371473b7834c723fa4e0dfcd929c9
parent216c32d4407ea6951d6832773fdb3de058e12c62
r6040: fix ifconfig down and freeing of tx/rx descriptors

This patch fixes warnings and such traces that appear when doing
an ifconfig down on the interface:

WARNING: at arch/x86/kernel/pci-dma.c:376 dma_free_coherent+0x40/0x7d()
Modules linked in:

Signed-off-by: Joe Chou <joe.chou@rdc.com.tw>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r6040.c