aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/share.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2010-04-17 19:44:55 +0000
committerJonathan Corbet <corbet@lwn.net>2010-05-07 17:17:39 -0600
commit162fc8c0c03d5b8536f14cbd2cdfb399c50c05ec (patch)
treed62f5f29718844d37075d8f485eaeee55f46ae2a /drivers/video/via/share.h
parentviafb: replace inb/outb (diff)
downloadlinux-dev-162fc8c0c03d5b8536f14cbd2cdfb399c50c05ec.tar.xz
linux-dev-162fc8c0c03d5b8536f14cbd2cdfb399c50c05ec.zip
viafb: improve misc register handling
viafb: improve misc register handling This patch improves the misc register handling by adding a modify function for this to via_io.h and moving expanded definitions of the relevant ports there. The code was changed to use those to improve readability. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/share.h')
-rw-r--r--drivers/video/via/share.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/via/share.h b/drivers/video/via/share.h
index f974c7333522..861b4142efad 100644
--- a/drivers/video/via/share.h
+++ b/drivers/video/via/share.h
@@ -45,8 +45,6 @@
/* standard VGA IO port
*/
-#define VIARMisc 0x3CC
-#define VIAWMisc 0x3C2
#define VIAStatus 0x3DA
#define VIACR 0x3D4
#define VIASR 0x3C4