summaryrefslogtreecommitdiffstats
path: root/drivers/platform/mips
diff options
context:
space:
mode:
authorAzael Avalos <coproscefalo@gmail.com>2015-07-22 18:09:11 -0600
committerDarren Hart <dvhart@linux.intel.com>2015-07-24 14:15:10 -0700
commitfc5462f8525b47fa219452289ecb22c921c16823 (patch)
tree6a9cbde344c432b0cb18c67105506cffc304dfae /drivers/platform/mips
parent7deef550f3a7d44c1d52a6d54f824e7e180c08ae (diff)
downloadlinux-fc5462f8525b47fa219452289ecb22c921c16823.tar.bz2
toshiba_acpi: Add /dev/toshiba_acpi device
There were previous attempts to "merge" the toshiba SMM module to the toshiba_acpi one, they were trying to imitate what the old toshiba module does, however, some models (TOS1900 devices) come with a "crippled" implementation and do not provide all the "features" a "genuine" Toshiba BIOS does. This patch adds a new device called toshiba_acpi, which aim is to enable userspace to access the SMM on Toshiba laptops via ACPI calls. Creating a new convenience _IOWR command to access the SCI functions by opening/closing the SCI internally to avoid buggy BIOS, while at the same time providing backwards compatibility. Older programs (and new) who wish to access the SMM on newer models can do it by pointing their path to /dev/toshiba_acpi (instead of /dev/toshiba) as the toshiba.h header was modified to reflect these changes as well as adds all the toshiba_acpi paths and command, however, it is strongly recommended to use the new IOCTL for any SCI command to avoid any buggy BIOS. Signed-off-by: Azael Avalos <coproscefalo@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/platform/mips')
0 files changed, 0 insertions, 0 deletions