/* i810_hires - enables high resolution mode @mmio: address of register space  */
static void i810_hires(u8 __iomem *mmio)
/* i810_hires - enables high resolution mode @mmio: address of register space  */
static void i810_hires(u8 __iomem *mmio)
{
	u8 val;
	i810_writeb(CR_INDEX_CGA, mmio, CR80);
	val = i810_readb(CR_DATA_CGA, mmio);
	i810_writeb(CR_INDEX_CGA, mmio, CR80);
	i810_writeb(CR_DATA_CGA, mmio, val | 1);
	i810_writel(MEM_MODE, mmio, i810_readl(MEM_MODE, mmio) | 4);
}