projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42dea90
)
svga: Use proper VGA register name macros in svga_wattr.
author
David Miller
<davem@davemloft.net>
Tue, 11 Jan 2011 23:49:03 +0000
(23:49 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 22 Mar 2011 06:46:36 +0000
(15:46 +0900)
Instead of magic register location constants.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/linux/svga.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/svga.h
b/include/linux/svga.h
index c59a51a2b0e792c39b5de96fecf228b3bfaca244..3fc52cb0bcb4442facf14b2938d333a876fcb307 100644
(file)
--- 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 */