diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2016-03-06 22:02:30 +0000 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-08 22:31:21 -0600 |
commit | caf02abf9bd00b4c23745a055c4f4c243eecd392 (patch) | |
tree | 02434e9ffb5516be2114135c68aa38d66afc0bfd /include/linux/pci_ids.h | |
parent | 9289b9d3aaf63171729bc06671d93d3164b3f0c5 (diff) | |
download | lwn-caf02abf9bd00b4c23745a055c4f4c243eecd392.tar.gz lwn-caf02abf9bd00b4c23745a055c4f4c243eecd392.zip |
PCI: Add QEMU top-level IDs for (sub)vendor & device
Introduce PCI_VENDOR/PCI_SUBVENDOR/PCI_SUBDEVICE defines to replace the
constants scattered in the kernel already used to detect QEMU.
They are defined in the QEMU codebase per docs/specs/pci-ids.txt.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/linux/pci_ids.h')
-rw-r--r-- | include/linux/pci_ids.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 37f05cb1dfd6..6d249d32c8b8 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -2506,6 +2506,10 @@ #define PCI_VENDOR_ID_AZWAVE 0x1a3b +#define PCI_VENDOR_ID_REDHAT_QUMRANET 0x1af4 +#define PCI_SUBVENDOR_ID_REDHAT_QUMRANET 0x1af4 +#define PCI_SUBDEVICE_ID_QEMU 0x1100 + #define PCI_VENDOR_ID_ASMEDIA 0x1b21 #define PCI_VENDOR_ID_CIRCUITCO 0x1cc8 |