linux/drivers/video/sis
Aaro Koskinen 32ed3036c5 sisfb: limit POST memory test according to PCI resource length
If the POST memory test fails, the driver may access illegal
memory areas. Instead of hard coding the maximum size, set it
according to the PCI resource length (an additional check is needed in
sisfb_post_map_vram() to ensure it's big enough). DRAM sizing will later
adjust video_size to the correct value.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-11-10 20:26:37 +09:00
..
300vtbl.h
310vtbl.h
init301.c
init301.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
init.c
init.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
initdef.h
initextlfb.c video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
Makefile
oem300.h
oem310.h
osdef.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
sis_accel.c video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
sis_accel.h
sis_main.c sisfb: limit POST memory test according to PCI resource length 2010-11-10 20:26:37 +09:00
sis_main.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
sis.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
vgatypes.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
vstruct.h sisfb: change SiS_DDC_Port type to SISIOADDRESS 2009-09-23 07:39:57 -07:00