[patch 2.5.31] transparent PCI-to-PCI bridges

Manfred Spraul
2002-08-25T16:51:46Z

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