pci.h: class codes wrong?

Leonard N. Zubkoff (lnz@dandelion.com)
Wed, 9 Aug 1995 14:58:24 -0700


I've been trying to use pcibios_find_class to find all the PCI SCSI controllers
and determine which ones are BusLogic. In the process, I believe I've
discovered a bug in pci.h: the PCI_CLASS definitions are all 16 bits but the
class code is defined as 24 bits. The alpha lca.c file confirms that this
class code should be a 24 bit value.

When I use PCI_CLASS_STORAGE_SCSI<<8 in my call to pcibios_find_class it
operates as expected.

Comments?

Leonard