From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQEeq-0006eA-VW for qemu-devel@nongnu.org; Mon, 22 Oct 2012 05:50:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQEek-0005og-P7 for qemu-devel@nongnu.org; Mon, 22 Oct 2012 05:50:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQEek-0005oc-FR for qemu-devel@nongnu.org; Mon, 22 Oct 2012 05:50:46 -0400 Date: Mon, 22 Oct 2012 12:52:50 +0200 From: "Michael S. Tsirkin" Message-ID: <20121022105250.GF28828@redhat.com> References: <143697c122519e4e9fac9be2341375ce50bcea1d.1350677361.git.jbaron@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <143697c122519e4e9fac9be2341375ce50bcea1d.1350677361.git.jbaron@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 09/26] pci: Add class 0xc05 as 'SMBus' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Baron Cc: agraf@suse.de, aliguori@us.ibm.com, juzhang@redhat.com, jan.kiszka@siemens.com, qemu-devel@nongnu.org, armbru@redhat.com, blauwirbel@gmail.com, yamahata@valinux.co.jp, alex.williamson@redhat.com, kevin@koconnor.net, avi@redhat.com, mkletzan@redhat.com, pbonzini@redhat.com, lcapitulino@redhat.com, afaerber@suse.de, kraxel@redhat.com On Fri, Oct 19, 2012 at 04:43:31PM -0400, Jason Baron wrote: > From: Jan Kiszka > > [jbaron@redhat.com: add PCI_CLASS_SERIAL_SMBUS definition] > Reviewed-by: Paolo Bonzini > Signed-off-by: Jan Kiszka > Signed-off-by: Jason Baron Applied, thanks. > --- > 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 0bcb45e..b7acae3 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 c1c8a56..26c1d5f 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 > -- > 1.7.1