/* Returns the value of an OPTI system board configuration register.  */
static u8 opti_syscfg(u8 reg)
/* Returns the value of an OPTI system board configuration register.  */
static u8 opti_syscfg(u8 reg)
{
	unsigned long flags;
	u8 r;
	local_irq_save(flags);
	outb(reg, 0x22);
	r = inb(0x24);
	local_irq_restore(flags);
	return r;
}