MGA_WRITE( MGA_WIADDR2, MGA_WMODE_SUSPEND ); MGA_WRITE( MGA_WGETMSB, 0x00000E00 ); MGA_WRITE( MGA_WVRTXSZ, 0x00001807 ); MGA_WRITE( MGA_WACCEPTSEQ, 0x18000000 ); 
case MGA_CARD_TYPE_G550: MGA_WRITE(MGA_WIADDR2, MGA_WMODE_SUSPEND); MGA_WRITE(MGA_WGETMSB, 0x00000E00); MGA_WRITE(MGA_WVRTXSZ, 0x00001807); MGA_WRITE(MGA_WACCEPTSEQ, 0x18000000); 
int mga_warp_init( drm_mga_private_t *dev_priv ){	u32 wmisc;	/* FIXME: Get rid of these damned magic numbers...	 */	switch ( dev_priv->chipset ) {	case MGA_CARD_TYPE_G400:		MGA_WRITE( MGA_WIADDR2, MGA_WMODE_SUSPEND );		MGA_WRITE( MGA_WGETMSB, 0x00000E00 );		MGA_WRITE( MGA_WVRTXSZ, 0x00001807 );		MGA_WRITE( MGA_WACCEPTSEQ, 0x18000000 );		break;	case MGA_CARD_TYPE_G200:		MGA_WRITE( MGA_WIADDR, MGA_WMODE_SUSPEND );		MGA_WRITE( MGA_WGETMSB, 0x1606 );		MGA_WRITE( MGA_WVRTXSZ, 7 );		break;	default:		return DRM_ERR(EINVAL);	}	MGA_WRITE( MGA_WMISC, (MGA_WUCODECACHE_ENABLE |			       MGA_WMASTER_ENABLE |			       MGA_WCACHEFLUSH_ENABLE) );	wmisc = MGA_READ( MGA_WMISC );	if ( wmisc != WMISC_EXPECTED ) {		DRM_ERROR( "WARP engine config failed! 0x%x != 0x%x\n",			   wmisc, WMISC_EXPECTED );		return DRM_ERR(EINVAL);	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/6795c985a648d1e90b367cc1387c18205ecca4b8/mga_warp.c/clean/drivers/char/drm/mga_warp.c