* [Qemu-devel] [PATCH] ahci: fix global hba control default value
@ 2010-05-22 20:44 Sebastian Herbszt
0 siblings, 0 replies; only message in thread
From: Sebastian Herbszt @ 2010-05-22 20:44 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-ahci-devel, Sebastian Herbszt
Global HBA Control default value should be zero.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
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++)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-22 20:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-22 20:44 [Qemu-devel] [PATCH] ahci: fix global hba control default value Sebastian Herbszt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).