diff mbox

ahci: fix global hba control default value

Message ID 1274561063$3598@local
State New
Headers show

Commit Message

Sebastian Herbszt May 22, 2010, 8:44 p.m. UTC
Global HBA Control default value should be zero.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
diff mbox

Patch

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<SATA_PORTS;i++)