/* MDA could easily be classified as "pre-dinosaur hardware".  */
static void write_mda_b(unsigned int val, unsigned char reg)
/* MDA could easily be classified as "pre-dinosaur hardware".  */
static void write_mda_b(unsigned int val, unsigned char reg)
{
	unsigned long flags;
	spin_lock_irqsave(&mda_lock, flags);
	outb_p(reg, mda_index_port); 
	outb_p(val, mda_value_port);
	spin_unlock_irqrestore(&mda_lock, flags);
}