qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 06/14] QEMU: Fill in PCI subsystem vendor id for LSI


From: Amit Shah
Subject: [Qemu-devel] [PATCH 06/14] QEMU: Fill in PCI subsystem vendor id for LSI
Date: Mon, 26 May 2008 13:36:45 +0300

The subsystem vendor ID shouldn't be 0x0 or 0xffff according
to the PCI spec

Signed-off-by: Amit Shah <address@hidden>
---
 qemu/hw/lsi53c895a.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/qemu/hw/lsi53c895a.c b/qemu/hw/lsi53c895a.c
index 72ed5c3..5e71e15 100644
--- a/qemu/hw/lsi53c895a.c
+++ b/qemu/hw/lsi53c895a.c
@@ -1872,8 +1872,8 @@ void *lsi_scsi_init(PCIBus *bus, int devfn)
         return NULL;
     }
 
-    s->pci_dev.config[0x00] = 0x00;
-    s->pci_dev.config[0x01] = 0x10;
+    s->pci_dev.config[0x00] = s->pci_dev.config[0x2c] = 0x00;
+    s->pci_dev.config[0x01] = s->pci_dev.config[0x2d] = 0x10;
     s->pci_dev.config[0x02] = 0x12;
     s->pci_dev.config[0x03] = 0x00;
     s->pci_dev.config[0x0b] = 0x01;
-- 
1.5.5.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]