[PATCH] dl2k: DMA freeing error
authorJon Mason <jdmason@us.ibm.com>
Fri, 10 Mar 2006 21:12:10 +0000 (15:12 -0600)
committerJeff Garzik <jeff@garzik.org>
Sat, 11 Mar 2006 18:26:51 +0000 (13:26 -0500)
commit9ee09d9cd4f57bae9cd95ea7ae5f41c29a166361
tree2b769501f13fabaa472c2ac3a4f5099a530770c2
parent9e927fb6186b6913d47d33068160088a084d568e
[PATCH] dl2k: DMA freeing error

This patch fixes an error in the dl2k driver's DMA mapping/unmapping.
The adapter uses the upper 16bits of the DMA address for the buffer
size.  However, this is not masked off when referencing the DMA
address, and can lead to errors by trying to free a DMA address out of
range.

Thanks,
Jon

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/dl2k.c