Received: from eggs.gnu.org ([209.51.188.92]:54297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gu9Mi-000609-DQ for qemu-devel@nongnu.org; Thu, 14 Feb 2019 00:15:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gu9Mh-0000XB-Mc for qemu-devel@nongnu.org; Thu, 14 Feb 2019 00:15:16 -0500 Received: from ozlabs.ru ([107.173.13.209]:58343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gu9Mh-0000VF-GD for qemu-devel@nongnu.org; Thu, 14 Feb 2019 00:15:15 -0500 From: Alexey Kardashevskiy Date: Thu, 14 Feb 2019 16:14:40 +1100 Message-Id: <20190214051440.59167-1-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH qemu] pci: Move NVIDIA vendor id to the rest of ids List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy sPAPR code will use it too so move it from VFIO to the common code. Signed-off-by: Alexey Kardashevskiy Reviewed-by: David Gibson Reviewed-by: Alistair Francis --- Previous version was RFC, this is is not. --- include/hw/pci/pci_ids.h | 2 ++ hw/vfio/pci-quirks.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hw/pci/pci_ids.h b/include/hw/pci/pci_ids.h index eeb3301..0abe27a 100644 --- a/include/hw/pci/pci_ids.h +++ b/include/hw/pci/pci_ids.h @@ -271,4 +271,6 @@ #define PCI_VENDOR_ID_SYNOPSYS 0x16C3 +#define PCI_VENDOR_ID_NVIDIA 0x10de + #endif diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c index eae31c7..40a1200 100644 --- a/hw/vfio/pci-quirks.c +++ b/hw/vfio/pci-quirks.c @@ -526,8 +526,6 @@ static void vfio_probe_ati_bar2_quirk(VFIOPCIDevice *vdev, int nr) * note it for future reference. */ -#define PCI_VENDOR_ID_NVIDIA 0x10de - /* * Nvidia has several different methods to get to config space, the * nouveu project has several of these documented here: -- 2.17.1