From patchwork Mon May 10 23:19:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: QiaoChong X-Patchwork-Id: 52246 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 37B41B7D6E for ; Tue, 11 May 2010 09:21:20 +1000 (EST) Received: from localhost ([127.0.0.1]:49320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBcHl-00031A-6P for incoming@patchwork.ozlabs.org; Mon, 10 May 2010 19:21:17 -0400 Received: from [140.186.70.92] (port=42263 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBcGD-0002yw-7a for qemu-devel@nongnu.org; Mon, 10 May 2010 19:19:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBcGC-0007ZT-2v for qemu-devel@nongnu.org; Mon, 10 May 2010 19:19:41 -0400 Received: from [159.226.40.154] (port=42991 helo=mail.loongson.cn) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBcGB-0007XN-Ny for qemu-devel@nongnu.org; Mon, 10 May 2010 19:19:40 -0400 Received: from localhost.localdomain (unknown [10.2.1.99]) by mail.loongson.cn (Postfix) with ESMTPA id A214EC6234; Tue, 11 May 2010 07:19:23 +0800 (CST) From: QiaoChong To: qemu-devel@nongnu.org Date: Tue, 11 May 2010 07:19:05 +0800 Message-Id: <1273533547-21789-5-git-send-email-qiaochong@loongson.cn> X-Mailer: git-send-email 1.7.0.3.254.g4503b.dirty In-Reply-To: <1273533547-21789-1-git-send-email-qiaochong@loongson.cn> References: <1273533547-21789-1-git-send-email-qiaochong@loongson.cn> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) Cc: QiaoChong , joro@8bytes.org, herbszt@gmx.de, agraf@suse.de, elek.roland@gmail.com Subject: [Qemu-devel] [PATCH 4/6] add WIN_STANDBYNOW1 process into ahci. 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 Signed-off-by: QiaoChong --- hw/ahci.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/ahci.c b/hw/ahci.c index b6a81af..cb4a851 100644 --- a/hw/ahci.c +++ b/hw/ahci.c @@ -676,6 +676,7 @@ static void handle_cmd(AHCIState *s,int port,int slot) write_to_sglist(ide_state->identify_data, sizeof(ide_state->identify_data),s->prdt_buf,prdt_num); pr->irq_stat |= (1<<2); break; + case WIN_STANDBYNOW1: case WIN_SETFEATURES: pr->irq_stat |= (1<<2); break;