qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 13/13] ahci: set pci revision id


From: Alexander Graf
Subject: [Qemu-devel] [PATCH 13/13] ahci: set pci revision id
Date: Wed, 8 Dec 2010 13:13:20 +0100

From: Sebastian Herbszt <address@hidden>

Set pci revision id to 0x01.

Signed-off-by: Sebastian Herbszt <address@hidden>
---
 hw/ide/ahci.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c
index 2ef03ed..fdfc011 100644
--- a/hw/ide/ahci.c
+++ b/hw/ide/ahci.c
@@ -1322,6 +1322,7 @@ static int pci_ahci_init(PCIDevice *dev)
                              PCI_DEVICE_ID_INTEL_ICH7_AHCI);
 
     pci_config_set_class(d->card.config, PCI_CLASS_STORAGE_SATA);
+    pci_config_set_revision(d->card.config, 0x01);
     pci_config_set_prog_interface(d->card.config, AHCI_PROGMODE_MAJOR_REV_1);
 
     d->card.config[PCI_CACHE_LINE_SIZE] = 0x08;  /* Cache line size */
-- 
1.6.0.2




reply via email to

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