]> git.baikalelectronics.ru Git - kernel.git/commit
solos-pci: Fix DMA support
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 24 May 2012 04:58:27 +0000 (04:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 May 2012 20:22:53 +0000 (16:22 -0400)
commitb7f16fcaea08fc32030b3a8839a63036e471b9ec
tree8a372a2a2f8f5e52f282bb18657932730b7d89cf
parent5de8977b631ca3edcface251dc061c786f1927f8
solos-pci: Fix DMA support

DMA support has finally made its way to the top of the TODO list, having
realised that a Geode using MMIO can't keep up with two ADSL2+ lines
each running at 21Mb/s.

This patch fixes a couple of bugs in the DMA support in the driver, so
once the corresponding FPGA update is complete and tested everything
should work properly.

We weren't storing the currently-transmitting skb, so we were never
unmapping it and never freeing/popping it when the TX was done.
And the addition of pci_set_master() is fairly self-explanatory.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Cc: stable@kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/solos-pci.c