brcm47xx: bgmac: implement unaligned addressing for DMA rings that support it
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 16 Sep 2013 19:46:34 +0000 (19:46 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 16 Sep 2013 19:46:34 +0000 (19:46 +0000)
commitb26442280afd6b5f638a904be97ceb94b8a8d341
tree5e7f5e4c0c07a8989d61ad3e95bba43e73d2a7fe
parent16456c35e76d640037bc41f80ec1326f44405b66
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