--- margi2/osd.c 2000/12/03 22:41:10 1.1 +++ margi2/osd.c 2001/04/25 15:31:09 1.2 @@ -228,8 +228,7 @@ int OSDStartPicture(struct cvdv_cards *c card->OSD.height = card->OSD.evenheight + card->OSD.oddheight; card->OSD.open = 1; - printk(KERN_DEBUG LOGNAME - ": OSD Open %dX%d, %d bit, mem 0x%08X/0x%08X\n", + MDEBUG(1,": OSD Open %dX%d, %d bit, mem 0x%08X/0x%08X\n", card->OSD.width, card->OSD.height, card->OSD.bpp, card->OSD.evendata, card->OSD.odddata); return 0; @@ -405,8 +404,8 @@ int OSDSetColor(struct cvdv_cards *card, if (B > 255) B = 255; if ((num >= 0) && (num < (1 << card->OSD.bpp))) { -//if (num==0) printk(KERN_DEBUG LOGNAME ": OSD SetColor num=%d, R=%d, G=%d, B=%d, YUV=%d, mix=%d, trans=%d\n", -// num,R,G,B,YUV,mix,trans); + if (num==0) MDEBUG(4,"OSD SetColor num=%d, R=%d, G=%d, B=%d, YUV=%d, mix=%d, trans=%d\n", + num,R,G,B,YUV,mix,trans); color = ((YUV) ? ((trans) ? 0 : ((R << 8) & 0xFC00) | ((mix) ? 0x0100 : 0x0000) | (G & 0x00F0) |