[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ia64
Subject: [PATCH] Give PCI ROM resources a parent
From: Matthew Wilcox <willy () debian ! org>
Date: 2004-08-26 21:51:36
Message-ID: 20040826215136.GP16196 () parcelfarce ! linux ! theplanet ! co ! uk
[Download RAW message or body]
Jon Smirl's patch to export roms via sysfs exposes a bug in the ia64
PCI code; we're not assigning a parent to the ROM resource. Please apply.
Index: vpd-2.6/arch/ia64/pci/pci.c
===================================================================
RCS file: /var/cvs/linux-2.6/arch/ia64/pci/pci.c,v
retrieving revision 1.13
diff -u -p -r1.13 pci.c
--- vpd-2.6/arch/ia64/pci/pci.c 20 Jul 2004 22:05:26 -0000 1.13
+++ vpd-2.6/arch/ia64/pci/pci.c 26 Aug 2004 21:29:48 -0000
@@ -332,7 +332,7 @@ pcibios_fixup_device_resources (struct p
struct pci_window *window;
int i, j;
int limit = (dev->hdr_type == PCI_HEADER_TYPE_NORMAL) ? \
- PCI_ROM_RESOURCE : PCI_NUM_RESOURCES;
+ PCI_BRIDGE_RESOURCES : PCI_NUM_RESOURCES;
for (i = 0; i < limit; i++) {
if (!dev->resource[i].start)
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic