Re: CFT/RFC: New cardbus resource allocation

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Thu, 7 Nov 2002 13:25:40 +0300


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/