SiS_DoProbeDDC(SiS_Private *SiS_Pr) 
SiS_DoProbeDDC(struct SiS_Private *SiS_Pr) 
SiS_DoProbeDDC(SiS_Private *SiS_Pr){    unsigned char mask, value;    USHORT  temp, ret=0;    BOOLEAN failed = FALSE;    SiS_SetSwitchDDC2(SiS_Pr);    if(SiS_PrepareDDC(SiS_Pr)) {         SiS_SetStop(SiS_Pr);#ifdef TWDEBUG         xf86DrvMsg(0, X_INFO, "Probe: Prepare failed\n");#endif         return(0xFFFF);    }    mask = 0xf0;    value = 0x20;    if(SiS_Pr->SiS_DDC_DeviceAddr == 0xa0) {       temp = (unsigned char)SiS_ReadDDC2Data(SiS_Pr, 0);       SiS_SendACK(SiS_Pr, 0);       if(temp == 0) {           mask = 0xff;	   value = 0xff;       } else {           failed = TRUE;	   ret = 0xFFFF;#ifdef TWDEBUG           xf86DrvMsg(0, X_INFO, "Probe: Read 1 failed\n");#endif       }    }    if(failed == FALSE) {       temp = (unsigned char)SiS_ReadDDC2Data(SiS_Pr, 0);       SiS_SendACK(SiS_Pr, 1);       temp &= mask;       if(temp == value) ret = 0;       else {          ret = 0xFFFF;#ifdef TWDEBUG          xf86DrvMsg(0, X_INFO, "Probe: Read 2 failed\n");#endif          if(SiS_Pr->SiS_DDC_DeviceAddr == 0xa0) {             if(temp == 0x30) ret = 0;          }       }    }    SiS_SetStop(SiS_Pr);    return(ret);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/544393fe584d333480659a4bed30f5295355df11/init301.c/clean/drivers/video/sis/init301.c