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)
commit64c3b252e9fc8256ef7b1b99ba60492163cd06e8
tree54fe1873126a728db074ccdfa40b5f31a1f9b369
parent33c6b1f6b154894321f5734e50c66621e9134e7e
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