[BNX2]: Add firmware decompression
authorMichael Chan <mchan@broadcom.com>
Tue, 13 Jun 2006 05:21:25 +0000 (22:21 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:30:44 +0000 (21:30 -0700)
commitfba9fe911bb4213c3de1d142fe0ee127cd361a78
tree2fc7a68e612644cc8ce3ff8e44f210e20f6964b4
parent160882722cb21cbe5cead55cf38a5e70fc3af63e
[BNX2]: Add firmware decompression

Add functions to decompress firmware before loading to the internal
CPUs. Compressing the firmware reduces the driver size significantly.

Added file name length sanity check in the gzip header to prevent
going past the end of buffer [suggested by DaveM].

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