diff options
author | Jesse Keating <jkeating@redhat.com> | 2010-07-29 17:18:45 -0700 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2010-07-29 17:18:45 -0700 |
commit | 2f82dda4a9bf41e64e864889bf06564bdf826e25 (patch) | |
tree | 118a7b483ae5de4dbf83d20001302f1404866ef0 /linux-2.6.30-hush-rom-warning.patch | |
parent | 64ba2e5ffde5f2418eb26c700cb0ab62b04e5013 (diff) | |
download | dom0-kernel-2f82dda4a9bf41e64e864889bf06564bdf826e25.tar.gz dom0-kernel-2f82dda4a9bf41e64e864889bf06564bdf826e25.tar.xz dom0-kernel-2f82dda4a9bf41e64e864889bf06564bdf826e25.zip |
initial srpm import
Diffstat (limited to 'linux-2.6.30-hush-rom-warning.patch')
-rw-r--r-- | linux-2.6.30-hush-rom-warning.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/linux-2.6.30-hush-rom-warning.patch b/linux-2.6.30-hush-rom-warning.patch new file mode 100644 index 0000000..a4a0809 --- /dev/null +++ b/linux-2.6.30-hush-rom-warning.patch @@ -0,0 +1,27 @@ +diff -up linux-2.6.30.noarch/drivers/pci/setup-res.c.jx linux-2.6.30.noarch/drivers/pci/setup-res.c +--- linux-2.6.30.noarch/drivers/pci/setup-res.c.jx 2009-07-27 17:56:13.000000000 -0400 ++++ linux-2.6.30.noarch/drivers/pci/setup-res.c 2009-07-27 17:58:25.000000000 -0400 +@@ -101,6 +101,7 @@ int pci_claim_resource(struct pci_dev *d + struct resource *res = &dev->resource[resource]; + struct resource *root; + int err; ++ const char *dtype = resource < PCI_BRIDGE_RESOURCES ? "device" : "bridge"; + + root = pci_find_parent_resource(dev, res); + +@@ -108,8 +109,13 @@ int pci_claim_resource(struct pci_dev *d + if (root != NULL) + err = request_resource(root, res); + +- if (err) { +- const char *dtype = resource < PCI_BRIDGE_RESOURCES ? "device" : "bridge"; ++ if (err && resource == 6) { ++ dev_info(&dev->dev, "BAR %d: %s of %s %pR\n", ++ resource, ++ root ? "address space collision on" : ++ "no parent found for", ++ dtype, res); ++ } else if (err) { + dev_err(&dev->dev, "BAR %d: %s of %s %pR\n", + resource, + root ? "address space collision on" : |