]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: fixed the pbl setting with DT
authorByungho An <bh74.an@samsung.com>
Sat, 24 Aug 2013 06:31:43 +0000 (15:31 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Aug 2013 21:41:49 +0000 (17:41 -0400)
commitad87472daf3625b0de7fc6a5dc35525668e1c4fa
tree54fe1873126a728db074ccdfa40b5f31a1f9b369
parentf472e20d9df26a6e52b4171a28a9a993db9689b6
net: stmmac: fixed the pbl setting with DT

This patch fixed the pbl(programmable burst length) setting
using DT. Even though the default pbl is 8, If there is no
pbl property in device tree file, pbl is set 0 and it causes
bandwidth degradation.

Signed-off-by: Byungho An <bh74.an@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c