Messages in this thread | | | Date | Sun, 4 Jul 1999 09:03:00 -0700 | From | David Hinds <> | Subject | Re: 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/
| |