mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 11:40:19 -04:00
svga: Use proper VGA register name macros in svga_wattr.
Instead of magic register location constants. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user