brcm47xx: bgmac: allow bigger et_swtype nvram variable
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Sep 2013 15:50:41 +0000 (15:50 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Sep 2013 15:50:41 +0000 (15:50 +0000)
commit57c6730ed623e347ed8eae420e5e2fa6e67ebecc
tree50265487a9093cfd3cb95457585e114dfed000d0
parent2693eab7fd383ba06e033c100b11709fc4221371
brcm47xx: bgmac: allow bigger et_swtype nvram variable

Without this patch it is impossible to read et_swtype, because the 1
byte space is needed for the terminating null byte. Now it should be
possible to read decimal and hex vars of max 8 bit.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37999
target/linux/brcm47xx/patches-3.10/711-bgmac_fix_parsing_of_et_swtype.patch [new file with mode: 0644]