implementation.
* Reenabling wifi adapter after previous disabling is broken on
Toshiba Satellite M100 (ipw3945)
+* Real support of ectype 14 is still missing
* See http://sourceforge.net/tracker/?atid=868542&group_id=174260&func=browse
for sf.net bug tracking system.
},
{
.callback = dmi_matched,
+ .ident = "Toshiba Satellite 2430",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
DMI_MATCH(DMI_PRODUCT_NAME, "Satellite 2430"),
},
- .ident = "Toshiba Satellite 2430",
.driver_data = (void*) XE3GF
},
{
brgt = simple_strtoul(buffer, &endp, 10);
if ((endp == buffer) || (brgt < 0) || (brgt > omnibook_max_brightness))
return -EINVAL;
- else
+ else {
io_op->backend->byte_write(io_op, brgt);
+#ifdef CONFIG_OMNIBOOK_BACKLIGHT
+ omnibookbl_data.brightness=brgt;
+#endif
+ }
}
return 0;
}
static int __init omnibook_brightness_init(struct omnibook_operation *io_op)
{
/*
- * FIXME: What is exactly de max value for each model ?
+ * FIXME: What is exactly the max value for each model ?
* I know that it's 7 for the TSM30X, TSM40 and TSA105
* and previous versions of this driver (wrongly) assumed it was 10 for
* all models.
{
int retval;
int i;
- u8 matched = 0;
+ u8 matched = 255;
for (i = 0; i < ARRAY_SIZE(nbsmi_display_mode_list); i++) {
if (nbsmi_display_mode_list[i] == state) {
break;
}
}
- if (!matched) {
+ if(matched==255) {
printk("Display mode %x is unsupported.\n", state);
return -EINVAL;
}