From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kenji Kaneshige Subject: Re: [ACPI] [RFC/PATCH 3/3] ACPI based I/O APIC hot-plug Date: Fri, 22 Apr 2005 15:38:35 +0900 Message-ID: <42689BEB.90401@jp.fujitsu.com> References: <4267AD21.7040006@jp.fujitsu.com> <1114104131.2784.43.camel@eeyore> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1114104131.2784.43.camel@eeyore> Sender: linux-ia64-owner@vger.kernel.org To: Bjorn Helgaas Cc: Andrew Morton , Len Brown , "Luck, Tony" , Greg KH , acpi-devel@lists.sourceforge.net, linux-ia64@vger.kernel.org, pcihpd-discuss@lists.sourceforge.net List-Id: linux-acpi@vger.kernel.org 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