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>
This commit is contained in:
Harald Welte 2009-05-19 15:50:58 +08:00 • committed by Jonathan Corbet
commit b72a5070c7
3 changed files with 44 additions and 26 deletions