[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 3/5] pci-ids: drop PCI_DEVICE_ID_VIRTIO_PMEM
From: |
Gerd Hoffmann |
Subject: |
[PATCH v2 3/5] pci-ids: drop PCI_DEVICE_ID_VIRTIO_PMEM |
Date: |
Fri, 30 Sep 2022 15:58:08 +0200 |
Not needed for a virtio 1.0 device.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
include/hw/pci/pci.h | 1 -
hw/virtio/virtio-pmem-pci.c | 2 --
2 files changed, 3 deletions(-)
diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h
index b6aefb33fb17..42c83cb5ed00 100644
--- a/include/hw/pci/pci.h
+++ b/include/hw/pci/pci.h
@@ -84,7 +84,6 @@ extern bool pci_available;
#define PCI_DEVICE_ID_VIRTIO_RNG 0x1005
#define PCI_DEVICE_ID_VIRTIO_9P 0x1009
#define PCI_DEVICE_ID_VIRTIO_VSOCK 0x1012
-#define PCI_DEVICE_ID_VIRTIO_PMEM 0x1013
#define PCI_VENDOR_ID_REDHAT 0x1b36
#define PCI_DEVICE_ID_REDHAT_BRIDGE 0x0001
diff --git a/hw/virtio/virtio-pmem-pci.c b/hw/virtio/virtio-pmem-pci.c
index 2b2a0b1eae10..7d9f4ec189b9 100644
--- a/hw/virtio/virtio-pmem-pci.c
+++ b/hw/virtio/virtio-pmem-pci.c
@@ -90,8 +90,6 @@ static void virtio_pmem_pci_class_init(ObjectClass *klass,
void *data)
k->realize = virtio_pmem_pci_realize;
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
- pcidev_k->vendor_id = PCI_VENDOR_ID_REDHAT_QUMRANET;
- pcidev_k->device_id = PCI_DEVICE_ID_VIRTIO_PMEM;
pcidev_k->revision = VIRTIO_PCI_ABI_VERSION;
pcidev_k->class_id = PCI_CLASS_OTHERS;
--
2.37.3
- [PATCH v2 0/5] pci-ids: virtio cleanup, Gerd Hoffmann, 2022/09/30
- [PATCH v2 1/5] pci-ids: drop PCI_DEVICE_ID_VIRTIO_IOMMU, Gerd Hoffmann, 2022/09/30
- [PATCH v2 4/5] pci-ids: drop PCI_DEVICE_ID_VIRTIO_VSOCK, Gerd Hoffmann, 2022/09/30
- [PATCH v2 3/5] pci-ids: drop PCI_DEVICE_ID_VIRTIO_PMEM,
Gerd Hoffmann <=
- [PATCH v2 2/5] pci-ids: drop PCI_DEVICE_ID_VIRTIO_MEM, Gerd Hoffmann, 2022/09/30
- [PATCH v2 5/5] pci-ids: drop list of modern virtio devices, Gerd Hoffmann, 2022/09/30
- Re: [PATCH v2 0/5] pci-ids: virtio cleanup, David Hildenbrand, 2022/09/30