/* i810fb_iring_enable - enables/disables the ringbuffer @mode: enable or disable  */
static void i810fb_iring_enable(struct i810fb_par *par, u32 mode)
/* i810fb_iring_enable - enables/disables the ringbuffer @mode: enable or disable  */
static void i810fb_iring_enable(struct i810fb_par *par, u32 mode)
{
	u32 tmp;
	u8 __iomem *mmio = par->mmio_start_virtual;
	tmp = i810_readl(IRING + 12, mmio);
	if (mode == OFF) 
		tmp &= ~1;
	else 
		tmp |= 1;
	flush_cache();
	i810_writel(IRING + 12, mmio, tmp);
}