Subject: Re: wi0 hassles on Dell 5000e.
To: Hayakawa Koichi <haya@ilink.sony.co.jp>
From: Luke Mewburn <lukem@wasabisystems.com>
List: tech-kern
Date: 02/08/2001 02:14:57
On Wed, Feb 07, 2001 at 06:44:40PM +0900, Hayakawa Koichi wrote:
> From: Jason R Thorpe <thorpej@zembu.com>
> Subject: Re: wi0 hassles on Dell 5000e.
> Date: Fri, 2 Feb 2001 11:42:17 -0800
> Message-ID: <20010202114217.W24230@dr-evil.shagadelic.org>
> 
>  > On Sat, Feb 03, 2001 at 06:33:43AM +1100, Luke Mewburn wrote:
>  > 
>  >  > I've applied the patch below and disabled Simon's temporary
>  >  > workaround, and now things seem to work well!
>  > 
>  > Hey, cool... should a similar fix be applied to the pcic space allocator?
> 
> I think it is too much.  The value of mask may be calculated
> from the value of align with the equation 'mask = align - 1',
> because we can assume the value of size is equal to that of
> align and the value of align is the power of 2.
> 
> Why did I it?  Because I wanted to test it. ;-)

And the fix worked, so why don't you commit it?

-- 
Luke Mewburn  <lukem@wasabisystems.com>  http://www.wasabisystems.com
Luke Mewburn     <lukem@netbsd.org>      http://www.netbsd.org
Wasabi Systems - providing NetBSD sales, support and service.