Subject: Re: bar_size could be 8192 on some cards
To: Jun-ichiro itojun Hagino <itojun@iijlab.net>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-kern
Date: 10/18/2004 15:04:51
Jun-ichiro itojun Hagino wrote:
> without this change, kernel panics with certain card (buffero
> WLI-CB-G54S) because of bar_size limitation (the card has
> bar_size=8192).
>
> - u_int8_t tuple[2048];
> + static u_int8_t tuple[8192];
Maybe use malloc/free? This would chew up 8K of RAM for any kernel
that includes cardbus support, even if it's not needed.
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Support and Service: http://www.wasabisystems.com/