Re: [PATCH 1/1] samsung-laptop: add N230 to supported models
From: Josh Boyer
Date: Fri Mar 02 2012 - 14:06:33 EST
On Fri, Mar 2, 2012 at 1:55 PM, Jiri Slaby <jslaby@xxxxxxx> wrote:
> There is a version of N230 which has only this in product and board
> names. See dmidecode in the bugzilla entry.
>
> Without this patch, one has to pass the force module parameter to have
> rfkill working.
>
> References: https://bugzilla.novell.com/show_bug.cgi?id=746695
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
I think Corey has patches queued up in Matthew's git tree that drop the DMI
checks in this driver entirely. If so, this probably isn't needed.
josh
> ---
> drivers/platform/x86/samsung-laptop.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c
> index fd73ea8..7765929 100644
> --- a/drivers/platform/x86/samsung-laptop.c
> +++ b/drivers/platform/x86/samsung-laptop.c
> @@ -679,6 +679,16 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = {
> .callback = dmi_check_cb,
> },
> {
> + .ident = "N230",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR,
> + "SAMSUNG ELECTRONICS CO., LTD."),
> + DMI_MATCH(DMI_PRODUCT_NAME, "N230"),
> + DMI_MATCH(DMI_BOARD_NAME, "N230"),
> + },
> + .callback = dmi_check_cb,
> + },
> + {
> .ident = "N150/N210/N220/N230",
> .matches = {
> DMI_MATCH(DMI_SYS_VENDOR,
> --
> 1.7.9.2
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/