#define XE3GC_MUTE_SCAN 0x20 /* Volume up button scancode */
/*
- * Toshiba Satellite A105 values
+ * Toshiba Satellite A105 values and mask
*/
#define A105_BNDT 0xA3 /* LCD brightness */
+#define A105_BNDT_MASK 0x0F
/*
* Fujitsu Amilo D values
if ((retval = omnibook_ec_read(AMILOD_CBRG, &brgt)))
return retval;
retval = brgt &= AMILOD_CBRG_MASK;
+ /*
+ * TSA105
+ */
+ } else if (omnibook_ectype & (TSA105) ) {
+ if ((retval = omnibook_ec_read(A105_BNDT, &brgt)))
+ return retval;
+ retval = brgt &= A105_BNDT_MASK;
} else {
printk(KERN_INFO
"%s: LCD brightness handling is unsupported on this machine.\n",