From patchwork Wed Dec 8 12:13:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 74693 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 938F6B6F14 for ; Wed, 8 Dec 2010 23:23:32 +1100 (EST) Received: from localhost ([127.0.0.1]:53907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQJ3Q-0002BD-Ty for incoming@patchwork.ozlabs.org; Wed, 08 Dec 2010 07:23:28 -0500 Received: from [140.186.70.92] (port=58448 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQItk-0006GC-AT for qemu-devel@nongnu.org; Wed, 08 Dec 2010 07:13:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQItf-0007eV-A2 for qemu-devel@nongnu.org; Wed, 08 Dec 2010 07:13:28 -0500 Received: from cantor.suse.de ([195.135.220.2]:33226 helo=mx1.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQIte-0007dl-Vo for qemu-devel@nongnu.org; Wed, 08 Dec 2010 07:13:23 -0500 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 0C49794033; Wed, 8 Dec 2010 13:13:22 +0100 (CET) From: Alexander Graf To: QEMU-devel Developers Date: Wed, 8 Dec 2010 13:13:20 +0100 Message-Id: <1291810400-11309-14-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.6.0.2 In-Reply-To: <1291810400-11309-1-git-send-email-agraf@suse.de> References: <1291810400-11309-1-git-send-email-agraf@suse.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 Cc: Kevin Wolf , Joerg Roedel , Paul Brook , Blue Swirl , Gerd Hoffmann , Stefan Hajnoczi , tj@kernel.org, Roland Elek , Sebastian Herbszt Subject: [Qemu-devel] [PATCH 13/13] ahci: set pci revision id X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Sebastian Herbszt Set pci revision id to 0x01. Signed-off-by: Sebastian Herbszt --- 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 */