ahci: fix global hba control default value
PATCH 1/1 ahci: fix global hba control default value
Global HBA Control default value should be zero.
Signed-off-by Sebastian Herbszt <[email protected]>
hw/ahci.c +0 -1
@@ -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++)