OSDN Git Service

[BNX2]: Optimize firmware loading.
authorMichael Chan <mchan@broadcom.com>
Tue, 2 Oct 2007 23:27:35 +0000 (16:27 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:07 +0000 (16:54 -0700)
commitea1f8d5c3a593a791463c2efc07e5dfebd056500
treee25bb6cffff8637b19c73f6ca68eeb901a2473a3
parentdad8c737962669240470923f951570ed716da1a1
[BNX2]: Optimize firmware loading.

This is a follow up to the patches from Denys Vlasenkos
<vda.linux@googlemail.com> to further optimize firmware loading.

1. In bnx2_init_cpus(), we allocate memory for decompression once
and use it repeatedly instead of doing this for every firmware image.

2. We eliminate the BSS and SBSS firmware sections in bnx2_fw*.h since
these are always zeros.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c
drivers/net/bnx2.h
drivers/net/bnx2_fw.h
drivers/net/bnx2_fw2.h