qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] serial-pci: Set prog interface field of pci config to 16550 compatible
@ 2014-02-27  1:05 BALATON Zoltan
  2014-03-10 18:40 ` BALATON Zoltan
  0 siblings, 1 reply; 16+ messages in thread
From: BALATON Zoltan @ 2014-02-27  1:05 UTC (permalink / raw)
  To: qemu-devel

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
---
 hw/char/serial-pci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/char/serial-pci.c b/hw/char/serial-pci.c
index 991c99f..e662b77 100644
--- a/hw/char/serial-pci.c
+++ b/hw/char/serial-pci.c
@@ -60,6 +60,7 @@ static int serial_pci_init(PCIDevice *dev)
         return -1;
     }
 
+    pci->dev.config[PCI_CLASS_PROG] = 0x02; /* 16550 compatible */
     pci->dev.config[PCI_INTERRUPT_PIN] = 0x01;
     s->irq = pci_allocate_irq(&pci->dev);
 
-- 
1.8.1.5

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-03-21  9:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27  1:05 [Qemu-devel] [PATCH] serial-pci: Set prog interface field of pci config to 16550 compatible BALATON Zoltan
2014-03-10 18:40 ` BALATON Zoltan
2014-03-14 16:21   ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2014-03-14 17:44     ` BALATON Zoltan
2014-03-14 17:57       ` BALATON Zoltan
2014-03-17 12:32         ` Gerd Hoffmann
2014-03-20  9:58           ` BALATON Zoltan
2014-03-21  8:43             ` Gerd Hoffmann
2014-03-21  9:10               ` BALATON Zoltan
2014-03-20 15:42   ` Michael Tokarev
2014-03-20 15:51     ` Paolo Bonzini
2014-03-20 16:01       ` BALATON Zoltan
2014-03-20 16:32         ` Paolo Bonzini
2014-03-20 16:58           ` BALATON Zoltan
2014-03-20 17:35             ` Paolo Bonzini
2014-03-21  8:19       ` Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).