[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/6] Minor clean-up of can_pcm3680_pci.
From: |
pisa |
Subject: |
[Qemu-devel] [PATCH 5/6] Minor clean-up of can_pcm3680_pci. |
Date: |
Fri, 6 Jan 2017 00:11:27 +0100 |
From: Deniz Eren <address@hidden>
---
hw/can/can_pcm3680_pci.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/hw/can/can_pcm3680_pci.c b/hw/can/can_pcm3680_pci.c
index 9d8d3f7..1134960 100644
--- a/hw/can/can_pcm3680_pci.c
+++ b/hw/can/can_pcm3680_pci.c
@@ -249,8 +249,7 @@ static void pcm3680i_pci_exit(PCIDevice *pci_dev)
qemu_unregister_reset(pcm3680i_pci_reset, d);
/*
- * regions d->s5920_io, d->sja_io and d->xilinx_io
- * are destroyed by QOM now
+ * region d->sja_io is destroyed by QOM now
*/
/* memory_region_destroy(&d->sja_io[0]); */
/* memory_region_destroy(&d->sja_io[1]); */
@@ -300,8 +299,8 @@ static void pcm3680i_pci_class_init(ObjectClass *klass,
void *data)
k->device_id = PCM3680i_PCI_DEVICE_ID1;
k->revision = 0x00;
k->class_id = 0x000c09;
- k->subsystem_vendor_id = 0x13fe;
- k->subsystem_id = 0xc002;
+ k->subsystem_vendor_id = PCM3680i_PCI_VENDOR_ID1;
+ k->subsystem_id = PCM3680i_PCI_DEVICE_ID1;
// k->is_bridge = 0;
// k->is_express = 0;
dc->desc = "Pcm3680i PCICANx";
--
1.9.1
- [Qemu-devel] [PATCH 0/6] CAN bus support for QEMU (SJA1000 PCI so far), pisa, 2017/01/05
- [Qemu-devel] [PATCH 1/6] CAN bus simple SJA1000 PCI card emulation for QEMU, pisa, 2017/01/05
- [Qemu-devel] [PATCH 2/6] CAN bus Kvaser PCI CAN-S (single SJA1000 channel) emulation added., pisa, 2017/01/05
- [Qemu-devel] [PATCH 3/6] CAN bus PCM-3680I PCI (dual SJA1000 channel) emulation added., pisa, 2017/01/05
- [Qemu-devel] [PATCH 4/6] Fixed IRQ problem for CAN device can_pcm3680_pci., pisa, 2017/01/05
- [Qemu-devel] [PATCH 5/6] Minor clean-up of can_pcm3680_pci.,
pisa <=
- [Qemu-devel] [PATCH 6/6] CAN bus MIOe-3680 PCI (dual SJA1000 channel) emulation added., pisa, 2017/01/05
- Re: [Qemu-devel] [PATCH 0/6] CAN bus support for QEMU (SJA1000 PCI so far), no-reply, 2017/01/05