import of tp-smapi version 0.39

This commit is contained in:
Shem Multinymous 2008-09-26 17:19:22 +02:00 committed by Evgeni Golov
parent ae8bc8a13c
commit 0021d50d5f
4 changed files with 16 additions and 5 deletions

View File

@ -1,8 +1,13 @@
Change history for tp_smapi:
0.39 2008-09-27
---------------------
- Fixed compilation on kernels <2.6.26
(thanks to Evgeni Golov and Whoopie!)
0.38 2008-09-26
---------------------
- Fixed compilation on kernel 2.6.27-rc7
- Fixed compilation on kernel 2.6.27-rc7.
- tp_smapi: Added a new battery attribute
/sys/devices/platform/smapi/BAT?/remaining_percent_error
This is the error margin for the remaing_percent attribute.

2
README
View File

@ -1,4 +1,4 @@
tp_smapi version 0.38
tp_smapi version 0.39
IBM ThinkPad hardware functions driver
Author: Shem Multinymous <multinymous@gmail.com>

View File

@ -36,10 +36,16 @@
#include <linux/delay.h>
#include <linux/thinkpad_ec.h>
#include <linux/jiffies.h>
#include <linux/semaphore.h>
#include <asm/io.h>
#define TP_VERSION "0.38"
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
#include <asm/semaphore.h>
#else
#include <linux/semaphore.h>
#endif
#define TP_VERSION "0.39"
MODULE_AUTHOR("Shem Multinymous");
MODULE_DESCRIPTION("ThinkPad embedded controller hardware access");

View File

@ -47,7 +47,7 @@
#include <asm/uaccess.h>
#include <asm/io.h>
#define TP_VERSION "0.38"
#define TP_VERSION "0.39"
#define TP_DESC "ThinkPad SMAPI Support"
#define TP_DIR "smapi"