diff mbox

[13/13] ahci: set pci revision id

Message ID 1291810400-11309-14-git-send-email-agraf@suse.de
State New
Headers show

Commit Message

Alexander Graf Dec. 8, 2010, 12:13 p.m. UTC
From: Sebastian Herbszt <herbszt@gmx.de>

Set pci revision id to 0x01.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
---
 hw/ide/ahci.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

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 */