From: Ingmar Steen Date: Mon, 7 Feb 2011 13:32:31 +0000 (+0100) Subject: staging: samsung-laptop: Extend samsung-laptop platform driver to support another... X-Git-Tag: v2.6.39-rc1~469^2~614 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=988a29bf3dfb2bb9a85c21987e2cc63dadf523c3;p=pandora-kernel.git staging: samsung-laptop: Extend samsung-laptop platform driver to support another flavor of its platform BIOS. There are currently two implementations of the Samsung BIOS that controls the rfkill switch, backlight brightness / power and performance level. The samsung-laptop driver implements the BIOS flavor with the SECLINUX signature, this patch implements talking to the other BIOS with 'SwSmi@' signature. Both expose very similar functionality and way of accessing the commands. The differences are mostly offsets, command identifiers and some values. This patch introduces a sabi_config structure that contains information on identifying and accessing specific SABI flavors. Signed-off-by: Ingmar Steen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed