aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/hw.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-05-19 03:50:58 -0400
committerJonathan Corbet <corbet@lwn.net>2010-04-20 16:23:18 -0400
commitb72a5070c74f5ca9a45a03c2d625daab66d0a820 (patch)
treef388d41f100b0c4a3b7ef6c41066201f8f9ed895 /drivers/video/via/hw.h
parent109771a68bedda77606500dc14455eca92df6769 (diff)
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.h4
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 {
823}; 823};
824 824
825/* device ID */ 825/* device ID */
826#define CLE266 0x3123 826#define CLE266_FUNCTION3 0x3123
827#define KM400 0x3205 827#define KM400_FUNCTION3 0x3205
828#define CN400_FUNCTION2 0x2259 828#define CN400_FUNCTION2 0x2259
829#define CN400_FUNCTION3 0x3259 829#define CN400_FUNCTION3 0x3259
830/* support VT3314 chipset */ 830/* support VT3314 chipset */