/* We must not set the pitch for CRT2 if bridge is in slave mode */ if((ivideo->currentvbflags & VB_DISPTYPE_DISP2) && (!isslavemode)) { 
/* We must not set the pitch for CRT2 if bridge is in slave mode */ if((ivideo->currentvbflags & VB_DISPTYPE_DISP2) && (!isslavemode)) { 
sisfb_set_pitch(struct sis_video_info *ivideo){   	BOOLEAN isslavemode = FALSE;	unsigned short HDisplay1 = ivideo->scrnpitchCRT1 >> 3;	unsigned short HDisplay2 = ivideo->video_linelength >> 3;   	if(sisfb_bridgeisslave(ivideo)) isslavemode = TRUE;   	/* We need to set pitch for CRT1 if bridge is in slave mode, too */   	if((ivideo->currentvbflags & VB_DISPTYPE_DISP1) || (isslavemode)) {   		outSISIDXREG(SISCR,0x13,(HDisplay1 & 0xFF));   		setSISIDXREG(SISSR,0x0E,0xF0,(HDisplay1 >> 8));	}   	/* We must not set the pitch for CRT2 if bridge is in slave mode */   	if((ivideo->currentvbflags & VB_DISPTYPE_DISP2) && (!isslavemode)) {		orSISIDXREG(SISPART1,ivideo->CRT2_write_enable,0x01);   		outSISIDXREG(SISPART1,0x07,(HDisplay2 & 0xFF));   		setSISIDXREG(SISPART1,0x09,0xF0,(HDisplay2 >> 8));   	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/544393fe584d333480659a4bed30f5295355df11/sis_main.c/clean/drivers/video/sis/sis_main.c