lkml.org 
[lkml]   [2007]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: bnx2 dirver's firmware images
From
Date
On Tue, 2007-09-18 at 18:55 +0100, Denys Vlasenko wrote:
> On Tuesday 18 September 2007 19:45, Michael Chan wrote:
> > We can compress all the different sections of the firmware. Currently,
> > we only compress the biggest chunks and the rest are uncompressed.
>
> > These zeros should compress to almost nothing. But I agree that the
> > firmware is still big.
>
> You don't need to store and fetch zeros at all. You *know* that
> they are zeros, right? So do this:
>
> - REG_WR_IND(bp, offset, fw->bss[j]);
> + REG_WR_IND(bp, offset, 0);
>
Good point. We can do that. Looking at the file, there are other non-
zero data that can be compressed to save some more room.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-18 20:15    [W:0.123 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site