]> 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)
commitb59a32b5bf46e274417b9f655bc0ca6030028feb
tree54fe1873126a728db074ccdfa40b5f31a1f9b369
parent6ae4357b771170afac88b9bca2498e30d1d4fa6b
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