Commit 1284e49c authored by David Miller's avatar David Miller Committed by Paul Mundt

svga: Use proper VGA register name macros in svga_wattr.

Instead of magic register location constants.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 42dea903
......@@ -69,9 +69,9 @@ struct svga_pll {
static inline void svga_wattr(u8 index, u8 data)
{
inb(0x3DA);
outb(index, 0x3C0);
outb(data, 0x3C0);
inb(VGA_IS1_RC);
outb(index, VGA_ATT_IW);
outb(data, VGA_ATT_W);
}
/* Write a value to a sequence register with a mask */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment