Revision 85a00d9bbfb4704fbf368944b1cb9fed8f1598c5 authored by Peter Jones on 22 September 2010, 20:05:04 UTC, committed by Linus Torvalds on 23 September 2010, 00:22:39 UTC
Some Apple machines have identical DMI data but different memory
configurations for the video.  Given that, check that the address in our
table is actually within the range of a PCI BAR on a VGA device in the
machine.

This also fixes up the return value from set_system(), which has always
been wrong, but never resulted in bad behavior since there's only ever
been one matching entry in the dmi table.

The patch

1) stops people's machines from crashing when we get their display wrong,
   which seems to be unfortunately inevitable,

2) allows us to support identical dmi data with differing video memory
   configurations

This also adds me as the efifb maintainer, since I've effectively been
acting as such for quite some time.

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent a0c42ba
Raw File
Kconfig
#
# Miscellaneous SN-specific devices
#

menu "SN Devices"
	depends on SGI_SN

config SGI_IOC3
	tristate "SGI IOC3 Base IO support"
	default m
	---help---
	This option enables basic support for the SGI IOC3-based Base IO
	controller card.  This option does not enable any specific
	functions on such a card, but provides necessary infrastructure
	for other drivers to utilize.

	If you have an SGI Altix with an IOC3-based
	I/O controller or a PCI IOC3 serial card say Y.
	Otherwise say N.

endmenu
back to top