]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[BNX2]: factor out gzip unpacker
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 1 Oct 2007 00:55:51 +0000 (17:55 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:57 +0000 (16:53 -0700)
commitb3448b0bde5f1a858397fe791f76632e978a1dc8
tree930bd73182f12eb37c2f14121556b1c6ff67d6bd
parent89e536a190f90d038bae7905a0c582cb7089b739
[BNX2]: factor out gzip unpacker

This patch modifies gzip unpacking code in bnx2 driver so that
it does not depend on bnx2 internals. I will move this code
out of the driver and into zlib in follow-on patch.

It can be useful in other drivers which need to store firmwares
or any other relatively big binary blobs - fonts, cursor bitmaps,
whatever.

Patch is run tested by Michael Chan (driver author).

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Acked-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