diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-05-19 15:50:58 +0800 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2010-04-20 14:23:18 -0600 |
commit | b72a5070c74f5ca9a45a03c2d625daab66d0a820 (patch) | |
tree | f388d41f100b0c4a3b7ef6c41066201f8f9ed895 /drivers/video/via/hw.h | |
parent | 109771a68bedda77606500dc14455eca92df6769 (diff) | |
download | talos-op-linux-b72a5070c74f5ca9a45a03c2d625daab66d0a820.tar.gz talos-op-linux-b72a5070c74f5ca9a45a03c2d625daab66d0a820.zip |
viafb: use proper pci config API
This patch alters viafb to use the proper Linux in-kernel API to access
PCI configuration space, rather than poking at I/O ports by itself.
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Signed-off-by: Harald Welte <HaraldWelte@viatech.com>
Diffstat (limited to 'drivers/video/via/hw.h')
-rw-r--r-- | drivers/video/via/hw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/via/hw.h b/drivers/video/via/hw.h index 12ef32d334cb..d6b25acd4a99 100644 --- a/drivers/video/via/hw.h +++ b/drivers/video/via/hw.h @@ -823,8 +823,8 @@ struct iga2_crtc_timing { }; /* device ID */ -#define CLE266 0x3123 -#define KM400 0x3205 +#define CLE266_FUNCTION3 0x3123 +#define KM400_FUNCTION3 0x3205 #define CN400_FUNCTION2 0x2259 #define CN400_FUNCTION3 0x3259 /* support VT3314 chipset */ |