[patch 2.5.31] transparent PCI-to-PCI bridges

From: Manfred Spraul (manfred@colorfullife.com)
Date: Sun Aug 25 2002 - 11:55:59 EST


Ivan wrote:
> + /*
> + * The PCI-to-PCI bridge spec requires that subtractive decoding
> + * (i.e. transparent) bridge must have programming interface code
> + * of 0x01.
> + */
> + if (dev->class & 1) {
> + printk("Transparent bridge - %s\n", dev->name);

Why not
        if ((dev->class & 0xff) == 0x01)

Is the lowest bit an indicator of subtractive decoding, or is
Progif==0x01 the indicator of subtractive decoding?
The code and the comment should match.

--
	Manfred

- 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/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:15 EST