Skip to contentSkip to conversation

ahci: use interface type IF_SATA

PATCH New Sebastian Herbszt 1 participant 1 message May 11, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ahci: use interface type IF_SATA

Use interface type IF_SATA instead of IF_SCSI.

hw/ahci.c +1 -1
index 2763075..6f7b807 100644
@@ -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;