Re: CFT/RFC: New cardbus resource allocation

From: Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Date: Thu Nov 07 2002 - 05:25:40 EST


On Wed, Nov 06, 2002 at 07:41:26PM +0000, Russell King wrote:
> The following patch changes this. We instead use the PCI resource
> code to allocate a resource of the requested size, alignment, and
> offset from the parent bus of the cardbus bridge.

Looks quite reasonable.
Note that we don't need 2 similar functions in setup-res.c -
pci_assign_resource() can be easily converted to use your
pci_alloc_parent_resource(), and pci_assign_bus_resource() can
be killed then.

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



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:47 EST