Skip to content

Commit

Permalink
pci: Move NVIDIA vendor id to the rest of ids
Browse files Browse the repository at this point in the history
sPAPR code will use it too so move it from VFIO to the common code.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190214051440.59167-1-aik@ozlabs.ru>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
  • Loading branch information
aik authored and mstsirkin committed Feb 22, 2019
1 parent ed48c59 commit ee1cd00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hw/vfio/pci-quirks.c
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions include/hw/pci/pci_ids.h
Expand Up @@ -271,4 +271,6 @@

#define PCI_VENDOR_ID_SYNOPSYS 0x16C3

#define PCI_VENDOR_ID_NVIDIA 0x10de

#endif

0 comments on commit ee1cd00

Please sign in to comment.