Ivan.
--- 2.5-bk/drivers/pci/probe.c Wed Nov 6 17:38:46 2002
+++ linux/drivers/pci/probe.c Wed Nov 6 18:16:52 2002
@@ -384,7 +384,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/