Messages in this thread Patch in this message | | | Date | Tue, 22 Oct 2002 16:48:51 +0400 | From | Ivan Kokshaysky <> | Subject | Re: 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/
| |