X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fide.c;h=3ef7d4da25964a3881a2765d531ec5d1f79b6c98;hb=020108512c01b113a5e8cca88a8facdc5ba5488a;hp=ef42d61a4265468f604fa42edbbcc2bf4dd95919;hpb=bd0be459f4bbfe75bdfaf7f497a671dd0698550b;p=palacios-OLD.git diff --git a/palacios/src/devices/ide.c b/palacios/src/devices/ide.c index ef42d61..3ef7d4d 100644 --- a/palacios/src/devices/ide.c +++ b/palacios/src/devices/ide.c @@ -26,7 +26,7 @@ #include "ide-types.h" #include "atapi-types.h" -#ifndef CONFIG_DEBUG_IDE +#ifndef V3_CONFIG_DEBUG_IDE #undef PrintDebug #define PrintDebug(fmt, args...) #endif @@ -356,7 +356,7 @@ static int dma_write(struct guest_info * core, struct ide_internal * ide, struct #include "ata.h" -#ifdef CONFIG_DEBUG_IDE +#ifdef V3_CONFIG_DEBUG_IDE static void print_prd_table(struct ide_internal * ide, struct ide_channel * channel) { struct ide_dma_prd prd_entry; int index = 0; @@ -400,7 +400,7 @@ static int dma_read(struct guest_info * core, struct ide_internal * ide, struct // Read in the data buffer.... // Read a sector/block at a time until the prd entry is full. -#ifdef CONFIG_DEBUG_IDE +#ifdef V3_CONFIG_DEBUG_IDE print_prd_table(ide, channel); #endif