]> git.hungrycats.org Git - linux/commit
[netdrvr pcnet32] add missing pci_dma_sync_single
authorRalf Bächle <ralf@linux-mips.org>
Sat, 8 Nov 2003 07:24:10 +0000 (02:24 -0500)
committerRalf Bächle <ralf@linux-mips.org>
Sat, 8 Nov 2003 07:24:10 +0000 (02:24 -0500)
commite9e3cd4bc0328528fbcc81a1d5c9175d464362e7
tree48c5233978e403180ba01a3fa54ecc830bc79df2
parent215a574e0bc05a66769d11ddd4c2ca7d465e19b4
[netdrvr pcnet32] add missing pci_dma_sync_single

a patch for the pcnet32.c driver which adds a missing call to
pci_dma_sync_single.  If a received packet is smaller than rx_copybreak
the pcnet driver will recycle the receive buffer which requires calling
pci_dma_sync_single.  Patch is against 2.6 but I it's also needed in 2.4.

Without that call the processor might still have old stale data in
the data cache when the processor accesses the recycled buffer.
drivers/net/pcnet32.c