Re: VGA PCI IO port reservations

From: Matthew Kirkwood (matthew@hairy.beasts.org)
Date: Fri Nov 17 2000 - 16:43:37 EST


On Fri, 17 Nov 2000, Russell King wrote:

> Therefore, it should be reserved independent of whether we have the
> driver loaded/in kernel or not.

Is this not an argument for a more flexible resource allocation
API? One offering both:

   res = allocate_resource(restype, dev, RES_ALLOC_UNUSED, region);

and

   res = allocate_resource(restype, dev_ RES_ALLOC_HW, region);

?

Maybe the kernel might ask:

   allocate_resource(restype, dev, RES_ALLOC_UNMOVABLE_HW, region);

Matthew.

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



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:14 EST