* [PATCH 1/22] svga: Use proper VGA register name macros in
@ 2011-01-11 23:49 David Miller
0 siblings, 0 replies; only message in thread
From: David Miller @ 2011-01-11 23:49 UTC (permalink / raw)
To: linux-fbdev
Instead of magic register location constants.
Signed-off-by: David S. Miller <davem@davemloft.net>
---
include/linux/svga.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/svga.h b/include/linux/svga.h
index c59a51a..3fc52cb 100644
--- a/include/linux/svga.h
+++ b/include/linux/svga.h
@@ -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 */
--
1.7.3.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-01-11 23:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-11 23:49 [PATCH 1/22] svga: Use proper VGA register name macros in David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox