lkml.org 
[lkml]   [1999]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel/resource.c breakage
On Sun, Jul 04, 1999 at 10:20:31AM +0100, Tim Waugh wrote:
>
> If we requested 8 bytes the first time, the check_region (base, 3) will
> fail.
>
> This hack requests the region in two chunks. Yuck. Is there a better
> way?

I think the right thing would be to check both (base,3) and (base,8).
The reason is that the double request will work for the moment, but
when we get a PnP device manager, it will create a resource entry for
the full size of the region before the parport driver ever gets a
chance to look at it. So the double request would then start to fail.

-- Dave

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

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.048 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site