|| (S3_TRIO64V2_SERIES(s3ChipId))) ^
) ^
static int S3_TRIO_Init(DisplayModePtr mode){      int pixmux = 0;           /* SDAC command and CR67 */      int invert_vclk = 0;      /* CR66 bit 0 */      int sr8, sr15, sr18, cr33;      unsigned char blank, tmp;            outb(0x3C4, 1);      blank = inb(0x3C5);      outb(0x3C5, blank | 0x20); /* blank the screen */      outb(0x3c4, 0x08);      sr8 = inb(0x3c5);      outb(0x3c5, 0x06);      outb(0x3c4, 0x0d);        /* fix for VideoLogic GrafixStar cards: */      tmp = inb(0x3c5) & ~1;      outb(0x3c5, tmp);      outb(0x3c4, 0x15);      sr15 = inb(0x3c5) & ~0x10;  /* XXXX ~0x40 and SynthClock /= 2 in s3.c 						might be better... */      outb(0x3c4, 0x18);      sr18 = inb(0x3c5) & ~0x80;      outb(vgaCRIndex, 0x33);      cr33 = inb(vgaCRReg) & ~0x28;      /* for Trio64+ we need corrected blank signal timing */      if (!(S3_TRIO64V_SERIES(s3ChipId) && (s3ChipRev <= 0x53)	    || (S3_TRIO64V2_SERIES(s3ChipId))) ^ 	  !!OFLG_ISSET(OPTION_TRIO64VP_BUG1, &vga256InfoRec.options)) {	 cr33 |= 0x20;      }      if (s3PixelMultiplexing)      {	 /* x64:pixmux */	 /* pixmux with 16/32 bpp not possible for 864 ==> only 8bit mode  */         pixmux = 0x10;         /* two 8bit pixels per clock */         invert_vclk = 2;       /* XXXX strange: reserved bit which helps! */	 sr15 |= 0x10;  /* XXXX 0x40? see above! */	 sr18 |= 0x80;      }      else      {         switch (vga256InfoRec.bitsPerPixel)          {            case 8:  /* 8-bit color, 1 VCLK/pixel */               break;            case 16: /* 15/16-bit color, 1VCLK/pixel */	       cr33 |= 0x08;               if (xf86weight.green == 5)                  pixmux = 0x30;               else                  pixmux = 0x50;               break;            case 32: /* 32-bit color, 2VCLK/pixel */               pixmux = 0xd0;         }      }      outb(vgaCRReg, cr33);      outb(vgaCRIndex, 0x67);      outb(vgaCRReg, pixmux | invert_vclk);    /* set S3 mux mode */      outb(0x3c4, 0x15);      outb(0x3c5, sr15);      outb(0x3c4, 0x18);      outb(0x3c5, sr18);      if (OFLG_ISSET(CLOCK_OPTION_S3AURORA, &vga256InfoRec.clockOptions)) {	 outb(0x3c4, 0x28);	 outb(0x3c5, 0);      }      outb(0x3c4, 0x08);      outb(0x3c5, sr8);      outb(0x3C4, 1);      outb(0x3C5, blank);        /* unblank the screen */      return 1;}