qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] ahci: use interface type IF_SATA
@ 2010-05-11 20:17 Sebastian Herbszt
  0 siblings, 0 replies; only message in thread
From: Sebastian Herbszt @ 2010-05-11 20:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: Sebastian Herbszt

Use interface type IF_SATA instead of IF_SCSI.

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

diff --git a/hw/ahci.c b/hw/ahci.c
index 2763075..6f7b807 100644
--- a/hw/ahci.c
+++ b/hw/ahci.c
@@ -1160,7 +1160,7 @@ static AHCIState *ahci_new(void)
 	s->timer = qemu_new_timer(vm_clock, ahci_timer_function, s);
 	s->prdt_buf = qemu_malloc(65535*32);
 
-	if ((dinfo = drive_get(IF_SCSI, 0, 0)) != NULL)
+	if ((dinfo = drive_get(IF_SATA, 0, 0)) != NULL)
 	{
 		ide_init2(bus, dinfo, NULL,0);
 		s->ide=bus;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-11 20:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 20:17 [Qemu-devel] [PATCH] ahci: use interface type IF_SATA 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).