diff options
author | Zhu Yi <yi.zhu@intel.com> | 2009-08-28 11:42:31 +0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-28 14:35:32 -0400 |
commit | 11ebd1bf07fafde8d16562966c96b05b0d4ced9e (patch) | |
tree | 3bcb6b5ad97694042b39eb045cdaa9a57ad31b0a /drivers/net/gianfar.h | |
parent | 8ff499e43c537648399fca8ba39d24c0768b3fab (diff) |
ipw2200: firmware DMA loading rework
Bartlomiej Zolnierkiewicz reported an atomic order-6 allocation failure
for ipw2200 firmware loading in kernel 2.6.30. High order allocation is
likely to fail and should always be avoided.
The patch fixes this problem by replacing the original order-6
pci_alloc_consistent() with an array of order-1 pages from a pci pool.
This utilized the ipw2200 DMA command blocks (up to 64 slots). The
maximum firmware size support remains the same (64*8K).
This patch fixes bug http://bugzilla.kernel.org/show_bug.cgi?id=14016
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/gianfar.h')
0 files changed, 0 insertions, 0 deletions