From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932500Ab2CBSzT (ORCPT ); Fri, 2 Mar 2012 13:55:19 -0500 Received: from mail.pripojeni.net ([178.22.112.14]:60332 "EHLO smtp.pripojeni.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932430Ab2CBSzR (ORCPT ); Fri, 2 Mar 2012 13:55:17 -0500 From: Jiri Slaby To: mjg@redhat.com Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] samsung-laptop: add N230 to supported models Date: Fri, 2 Mar 2012 19:55:05 +0100 Message-Id: <1330714505-13170-1-git-send-email-jslaby@suse.cz> X-Mailer: git-send-email 1.7.9.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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