lkml.org 
[lkml]   [2002]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: PCI: Failed to allocate resource in 2.4.20pre10 and 11 - broken IRQ-router?
On Tue, Oct 22, 2002 at 01:48:45PM +0100, Andreas Hartmann wrote:
> CMD64x is switched off in *both* config-files of the kernel. I switched it on in
> the 2.4.20pre10 kernel, but the result is the same.

Ugh. It's a silly typo in the "transparent bridges" patch.

Thanks for the report, Andreas.

Ivan.

--- 2.4.20p11/drivers/pci/pci.c Tue Oct 22 16:27:00 2002
+++ linux/drivers/pci/pci.c Tue Oct 22 16:37:18 2002
@@ -1386,7 +1386,7 @@ int pci_setup_device(struct pci_dev * de
/* The PCI-to-PCI bridge spec requires that subtractive
decoding (i.e. transparent) bridge must have programming
interface code of 0x01. */
- dev->transparent = ((class & 0xff) == 1);
+ dev->transparent = ((dev->class & 0xff) == 1);
pci_read_bases(dev, 2, PCI_ROM_ADDRESS1);
break;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.036 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site