X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fnet_cd.c;h=4446e127d9461af8a156535a02186201f4c35d9e;hb=0160025157d9bc39687eb0c5df6cb3d965d20e07;hp=1532b1652bd8eb21b3f1a5813e9c7d1c39358640;hpb=62786ba1c9a264dfd00aa705f62bd65b5b0e7bb0;p=palacios.git diff --git a/palacios/src/devices/net_cd.c b/palacios/src/devices/net_cd.c index 1532b16..4446e12 100644 --- a/palacios/src/devices/net_cd.c +++ b/palacios/src/devices/net_cd.c @@ -22,19 +22,16 @@ #include #include -/* #ifndef DEBUG_IDE */ -/* #undef PrintDebug */ -/* #define PrintDebug(fmt, args...) */ -/* #endif */ - +#ifndef DEBUG_IDE +#undef PrintDebug +#define PrintDebug(fmt, args...) +#endif #define NBD_READ_CMD 0x1 #define NBD_WRITE_CMD 0x2 #define NBD_CAPACITY_CMD 0x3 - - #define NBD_STATUS_OK 0x00 #define NBD_STATUS_ERR 0xff