projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4374f42
)
Don't try to set fixed resources. Trivial.
author
Myles Watson
<mylesgw@gmail.com>
Thu, 5 Nov 2009 20:06:19 +0000
(20:06 +0000)
committer
Myles Watson
<mylesgw@gmail.com>
Thu, 5 Nov 2009 20:06:19 +0000
(20:06 +0000)
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4918
2b7e53f0
-3cfb-0310-b3e9-
8179ed1497e1
src/devices/pci_device.c
patch
|
blob
|
history
diff --git
a/src/devices/pci_device.c
b/src/devices/pci_device.c
index 1788044fe7865232773c184e63fa8db9f18ed62e..2360028756d57309b1eb92abba49d1ca7afc5103 100644
(file)
--- a/
src/devices/pci_device.c
+++ b/
src/devices/pci_device.c
@@
-479,6
+479,11
@@
static void pci_set_resource(struct device *dev, struct resource *resource)
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;