Re: [ACPI] [RFC/PATCH 3/3] ACPI based I/O APIC hot-plug

From: Kenji Kaneshige <kaneshige.kenji_at_jp.fujitsu.com>
Date: 2005-04-22 16:38:35
Bjorn Helgaas wrote:
> 
>>+		if ((dev->class >> 8) != PCI_CLASS_SYSTEM_PIC)
>>+			continue;
>>+		if ((dev->class & 0xff) == 0x10 || (dev->class & 0xff) == 0x20)
> 
> 
> What are 0x10 and 0x20?  Looks like they should be #defines in
> include/linux/pci_ids.h.

0x10 and 0x20 are programing interfaces for I/O APIC and I/O xAPIC
respectively. #define for these values looks good. But I don't know
if I can put new #defines into pci_ids.h and how to name them because
I could not find the header file (including pci_ids.h) that #defines
the values for programming interfaces. So I want to add the comments
to explain these values (0x10, 0x20) instead of adding new #defines into
pci_ids.h for now.

Thanks,
Kenji Kaneshige
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Apr 22 02:38:58 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST