lkml.org 
[lkml]   [2011]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: [PATCH] thinkpad-acpi: module autoloading for newer Lenovo ThinkPads.
From
Henrique,

Thanks the ack on the patch, any idea when this will be Q'ed for linus tree ?

-----------------------------------------------------
Manoj Iyer
Ubuntu/Canonical
Hardware Enablement Team
------------------------------------------------------



On Tue, Mar 8, 2011 at 6:35 AM, Henrique de Moraes Holschuh
<hmh@hmh.eng.br> wrote:
> On Mon, 07 Mar 2011, Manoj Iyer wrote:
>> The newer Lenovo ThinkPads have HKEY HID of LEN0068 instead
>> of IBM0068. Added new HID so that thinkpad_acpi module will
>> auto load on these newer Lenovo ThinkPads.
>>
>> Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
>
> Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
>
>> diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
>> index eb99223..125d891 100644
>> --- a/drivers/platform/x86/thinkpad_acpi.c
>> +++ b/drivers/platform/x86/thinkpad_acpi.c
>> @@ -128,7 +128,8 @@ enum {
>>  };
>>
>>  /* ACPI HIDs */
>> -#define TPACPI_ACPI_HKEY_HID         "IBM0068"
>> +#define TPACPI_ACPI_IBM_HKEY_HID     "IBM0068"
>> +#define TPACPI_ACPI_LENOVO_HKEY_HID  "LEN0068"
>>  #define TPACPI_ACPI_EC_HID           "PNP0C09"
>>
>>  /* Input IDs */
>> @@ -3879,7 +3880,8 @@ errexit:
>>  }
>>
>>  static const struct acpi_device_id ibm_htk_device_ids[] = {
>> -     {TPACPI_ACPI_HKEY_HID, 0},
>> +     {TPACPI_ACPI_IBM_HKEY_HID, 0},
>> +     {TPACPI_ACPI_LENOVO_HKEY_HID, 0},
>>       {"", 0},
>>  };
>
> --
>  "One disk to rule them all, One disk to find them. One disk to bring
>  them all and in the darkness grind them. In the Land of Redmond
>  where the shadows lie." -- The Silicon Valley Tarot
>  Henrique Holschuh
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-03-18 19:11    [W:0.035 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site