Author: myles
Date: 2009-11-05 20:06:19 +0000 (Thu, 05 Nov 2009)
New Revision: 4918

Modified:
   trunk/src/devices/pci_device.c
Log:
Don't try to set fixed resources.  Trivial.

Signed-off-by: Myles Watson <myle...@gmail.com>
Acked-by: Myles Watson <myle...@gmail.com>


Modified: trunk/src/devices/pci_device.c
===================================================================
--- trunk/src/devices/pci_device.c      2009-11-05 18:08:16 UTC (rev 4917)
+++ trunk/src/devices/pci_device.c      2009-11-05 20:06:19 UTC (rev 4918)
@@ -479,6 +479,11 @@
                return;
        }
 
+       /* If this resource is fixed don't worry about it. */
+       if (resource->flags & IORESOURCE_FIXED) {
+               return;
+       }
+
        /* If I have already stored this resource don't worry about it. */
        if (resource->flags & IORESOURCE_STORED) {
                return;


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to