diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-09-22 19:47:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:53 -0400 |
commit | 2d280f758b2044151cb77fdd9c59d1903bbb6a19 (patch) | |
tree | adb973c31e8d061e7f4cabe30c81a34497fdab04 /drivers/video/via/hw.h | |
parent | 3a32456909380150a92ed207c160a3a0bd687e14 (diff) |
viafb: make viafb a first-class citizen using pci_driver
Signed-off-by: Harald Welte <HaraldWelte@viatech.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Scott Fang <ScottFang@viatech.com.cn>
Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/via/hw.h')
-rw-r--r-- | drivers/video/via/hw.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/via/hw.h b/drivers/video/via/hw.h index 4e54b2f92d0f..b874d952b446 100644 --- a/drivers/video/via/hw.h +++ b/drivers/video/via/hw.h | |||
@@ -901,14 +901,15 @@ void viafb_set_dpa_gfx(int output_interface, struct GFX_DPA_SETTING\ | |||
901 | int viafb_setmode(int vmode_index, int hor_res, int ver_res, | 901 | int viafb_setmode(int vmode_index, int hor_res, int ver_res, |
902 | int video_bpp, int vmode_index1, int hor_res1, | 902 | int video_bpp, int vmode_index1, int hor_res1, |
903 | int ver_res1, int video_bpp1); | 903 | int ver_res1, int video_bpp1); |
904 | void viafb_init_chip_info(void); | 904 | void viafb_init_chip_info(struct pci_dev *pdev, |
905 | const struct pci_device_id *pdi); | ||
905 | void viafb_init_dac(int set_iga); | 906 | void viafb_init_dac(int set_iga); |
906 | int viafb_get_pixclock(int hres, int vres, int vmode_refresh); | 907 | int viafb_get_pixclock(int hres, int vres, int vmode_refresh); |
907 | int viafb_get_refresh(int hres, int vres, u32 float_refresh); | 908 | int viafb_get_refresh(int hres, int vres, u32 float_refresh); |
908 | void viafb_update_device_setting(int hres, int vres, int bpp, | 909 | void viafb_update_device_setting(int hres, int vres, int bpp, |
909 | int vmode_refresh, int flag); | 910 | int vmode_refresh, int flag); |
910 | void viafb_get_mmio_info(unsigned long *mmio_base, u32 *mmio_len); | ||
911 | 911 | ||
912 | int viafb_get_fb_size_from_pci(void); | ||
912 | void viafb_set_iga_path(void); | 913 | void viafb_set_iga_path(void); |
913 | void viafb_set_primary_address(u32 addr); | 914 | void viafb_set_primary_address(u32 addr); |
914 | void viafb_set_secondary_address(u32 addr); | 915 | void viafb_set_secondary_address(u32 addr); |