lkml.org 
[lkml]   [2012]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 1/1] samsung-laptop: add N230 to supported models
    From
    On Fri, Mar 2, 2012 at 1:55 PM, Jiri Slaby <jslaby@suse.cz> 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@suse.cz>

    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@vger.kernel.org
    > 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@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: 2012-03-02 20:09    [W:0.029 / U:31.196 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site