From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=39359 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFvZB-0005by-MU for qemu-devel@nongnu.org; Sat, 22 May 2010 16:45:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFvZA-0001wv-7E for qemu-devel@nongnu.org; Sat, 22 May 2010 16:45:05 -0400 Received: from mail.gmx.net ([213.165.64.20]:44217) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OFvZ9-0001wo-Re for qemu-devel@nongnu.org; Sat, 22 May 2010 16:45:04 -0400 Date: Sat, 22 May 2010 22:44:23 +0200 Message-Id: <1274561063$3598@local> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit From: Sebastian Herbszt Subject: [Qemu-devel] [PATCH] ahci: fix global hba control default value List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-ahci-devel@lists.sourceforge.net, Sebastian Herbszt Global HBA Control default value should be zero. Signed-off-by: Sebastian Herbszt diff --git a/hw/ahci.c b/hw/ahci.c index 178f9ea..ce87cbe 100644 --- a/hw/ahci.c +++ b/hw/ahci.c @@ -485,7 +485,6 @@ static void ahci_reg_init(AHCIState *s) { int i; s->control_regs.cap = 3 | (0x1f << 8) | (1 << 20) ; /* 4 ports, 32 command slots, 1.5 Gb/s */ - s->control_regs.ghc = 1 << 31; /* AHCI Enable */ s->control_regs.impl = 15; /* Ports 0-3 implemented */ s->control_regs.version = 0x10000; for(i=0;i