aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/hw.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-09-22 19:47:37 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 10:39:53 -0400
commit2d280f758b2044151cb77fdd9c59d1903bbb6a19 (patch)
treeadb973c31e8d061e7f4cabe30c81a34497fdab04 /drivers/video/via/hw.h
parent3a32456909380150a92ed207c160a3a0bd687e14 (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.h5
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\
901int viafb_setmode(int vmode_index, int hor_res, int ver_res, 901int 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);
904void viafb_init_chip_info(void); 904void viafb_init_chip_info(struct pci_dev *pdev,
905 const struct pci_device_id *pdi);
905void viafb_init_dac(int set_iga); 906void viafb_init_dac(int set_iga);
906int viafb_get_pixclock(int hres, int vres, int vmode_refresh); 907int viafb_get_pixclock(int hres, int vres, int vmode_refresh);
907int viafb_get_refresh(int hres, int vres, u32 float_refresh); 908int viafb_get_refresh(int hres, int vres, u32 float_refresh);
908void viafb_update_device_setting(int hres, int vres, int bpp, 909void viafb_update_device_setting(int hres, int vres, int bpp,
909 int vmode_refresh, int flag); 910 int vmode_refresh, int flag);
910void viafb_get_mmio_info(unsigned long *mmio_base, u32 *mmio_len);
911 911
912int viafb_get_fb_size_from_pci(void);
912void viafb_set_iga_path(void); 913void viafb_set_iga_path(void);
913void viafb_set_primary_address(u32 addr); 914void viafb_set_primary_address(u32 addr);
914void viafb_set_secondary_address(u32 addr); 915void viafb_set_secondary_address(u32 addr);