brcm47xx: bgmac: implement unaligned addressing for DMA rings that support it
authorHauke Mehrtens <hauke@openwrt.org>
Mon, 16 Sep 2013 19:46:34 +0000 (19:46 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Mon, 16 Sep 2013 19:46:34 +0000 (19:46 +0000)
commitdb3414a7e15c2f690d565d5a75169609736a16cf
tree5e7f5e4c0c07a8989d61ad3e95bba43e73d2a7fe
parentbfe5dcd235b469b42246924d8a825ac451eec6bc
brcm47xx: bgmac: implement unaligned addressing for DMA rings that support it

This is important patch for new devices that support unaligned
addressing. That devices suffer from the backward-compatibility bug in
DMA engine. In theory we should be able to use old mechanism, but in
practice DMA address seems to be randomly copied into status register
when hardware reaches end of a ring. This breaks reading slot number
from status register and we can't use DMA anymore.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38004 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm47xx/patches-3.10/712-bgmac_implement_unaligned_addressing.patch [new file with mode: 0644]
target/linux/brcm47xx/patches-3.10/770-bgmac-phylib.patch