public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix PCI root bridge resources to handle prior allocations
@ 2003-12-18 20:22 Bjorn Helgaas
  0 siblings, 0 replies; only message in thread
From: Bjorn Helgaas @ 2003-12-18 20:22 UTC (permalink / raw)
  To: linux-ia64

ia64: Fix PCI root bridge resources to handle prior allocations.

(alloc_resources):  Use insert_resource(), not request_resource(), to
	allocate PCI root bridge windows.  This fixes the problem
	where root bridge window allocation fails because an early
	driver (like VGA) has already allocated things.

=== arch/ia64/pci/pci.c 1.37 vs edited ==--- 1.37/arch/ia64/pci/pci.c	Thu Jul 31 17:47:19 2003
+++ edited/arch/ia64/pci/pci.c	Thu Nov 20 10:45:52 2003
@@ -153,7 +153,7 @@
 	res->end = end;
 	res->flags = flags;
 
-	if (request_resource(root, res))
+	if (insert_resource(root, res))
 		return -EBUSY;
 
 	return 0;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-18 20:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-18 20:22 [PATCH] Fix PCI root bridge resources to handle prior allocations Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox