From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLUZk-0000lz-SH for qemu-devel@nongnu.org; Tue, 09 Oct 2012 03:50:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLUZi-00038r-IB for qemu-devel@nongnu.org; Tue, 09 Oct 2012 03:50:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLUZi-00038n-8Q for qemu-devel@nongnu.org; Tue, 09 Oct 2012 03:49:58 -0400 Message-ID: <5073D71A.20709@redhat.com> Date: Tue, 09 Oct 2012 09:49:46 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 09/21] pci: Add class 0xc05 as 'SMBus' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Baron Cc: aliguori@us.ibm.com, juzhang@redhat.com, mst@redhat.com, jan.kiszka@siemens.com, qemu-devel@nongnu.org, agraf@suse.de, blauwirbel@gmail.com, yamahata@valinux.co.jp, alex.williamson@redhat.com, kevin@koconnor.net, avi@redhat.com, mkletzan@redhat.com, lcapitulino@redhat.com, afaerber@suse.de, armbru@redhat.com, kraxel@redhat.com Il 09/10/2012 05:30, Jason Baron ha scritto: > From: Jan Kiszka > > [jbaron@redhat.com: add PCI_CLASS_SERIAL_SMBUS definition] > Signed-off-by: Jan Kiszka > Signed-off-by: Jason Baron Reviewed-by: Paolo Bonzini > --- > hw/pci.c | 1 + > hw/pci_ids.h | 1 + > 2 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/hw/pci.c b/hw/pci.c > index c457d50..62276ef 100644 > --- a/hw/pci.c > +++ b/hw/pci.c > @@ -1203,6 +1203,7 @@ static const pci_class_desc pci_class_descriptions[] = > { 0x0c02, "SSA controller", "ssa"}, > { 0x0c03, "USB controller", "usb"}, > { 0x0c04, "Fibre channel controller", "fibre-channel"}, > + { 0x0c05, "SMBus"}, > { 0, NULL} > }; > > diff --git a/hw/pci_ids.h b/hw/pci_ids.h > index 4017eb7..6deeac0 100644 > --- a/hw/pci_ids.h > +++ b/hw/pci_ids.h > @@ -31,6 +31,7 @@ > #define PCI_CLASS_SYSTEM_OTHER 0x0880 > > #define PCI_CLASS_SERIAL_USB 0x0c03 > +#define PCI_CLASS_SERIAL_SMBUS 0x0c05 > > #define PCI_CLASS_BRIDGE_HOST 0x0600 > #define PCI_CLASS_BRIDGE_ISA 0x0601 >