openwrtv4/package/kernel/lantiq/ltq-adsl-mei/src
John Crispin 3fbffbb7b0 ltq-adsl-mei: improve memory allocation
The ltq-adsl-mei driver allocates memory for the ADSL firmware in a
rather stupid way, leading to several 128k allocations, which fail when
many services are enabled. This patch tries to allocate 64 kiB chunks,
and only falls back to larger allocations if the returned pointers are
not correctly aligned. Fixes out-of-memory errors on Danube boards with
32 MiB RAM.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 40325
2014-03-30 09:16:39 +00:00
..
ifxmips_mei_interface.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
lantiq_mei.c ltq-adsl-mei: improve memory allocation 2014-03-30 09:16:39 +00:00
Makefile packages: clean up the package folder 2013-06-21 16:54:37 +00:00