static struct omnibook_tbl display_table[] __initdata = {
{ TSM30X, {ACPI, }},
+ { TSM40, {SMI, }},
{ XE3GF|TSP10|TSM30X|TSM40, SIMPLE_BYTE(EC,XE3GF_STA1,XE3GF_SHDD_MASK)},
{ XE3GC, SIMPLE_BYTE(EC,XE3GC_STA1,XE3GC_CRTI_MASK)},
{ OB500|OB510|OB6000|OB6100|XE4500, SIMPLE_BYTE(EC,OB500_STA1,OB500_CRTS_MASK)},
/*
* Specific feature init code
*/
- if (feature->init && (retval = feature->init(feature->io_op)))
+ if (feature->init && (retval = feature->init(feature->io_op))) {
+ printk(O_ERR "Init function of %s failed with error %i.\n",
+ feature->name,
+ retval);
goto err;
-
+ }
/*
* procfs file setup
*/
list_add_tail(&feature->list, &omnibook_available_feature->list);
return 0;
err:
+ if (feature->io_op && feature->io_op->backend->exit)
+ feature->io_op->backend->exit(feature->io_op);
kfree(feature->io_op);
return retval;
}
BUG();
}
+ if(retval)
+ printk(O_ERR "smi_command failed with error %i.\n", retval);
+
for(count = 0; count < BUFFER_SIZE; count++) {
outb( count + start_offset, RTC_PORT(2) );
*(outputbuffer + count) = inb( RTC_PORT(3) );
*/
#define OMNIBOOK_MODULE_NAME "omnibook"
-#define OMNIBOOK_MODULE_VERSION "2.20060816"
+#define OMNIBOOK_MODULE_VERSION "2.20060000"
/*
* EC types
* Shared with bluetooth.c
*/
struct omnibook_tbl wireless_table[] __initdata = {
- { TSM30X, {ACPI, 0, 0, 0, 0, 0}}, /* stubs to select backend */
- { TSM40, {SMI, 0, 0, 0, 0, 0}}, /* stubs to select backend */
+ { TSM30X, {ACPI,}}, /* stubs to select backend */
+ { TSM40, {SMI,}}, /* stubs to select backend */
{ 0,}
};