[PATCH] dell-laptop: add Dell Vostro 1520 to blacklist.

From: Ayan George
Date: Fri Feb 11 2011 - 15:48:06 EST


The dell-laptop module erroneously hard-blocks the wireless interface on
the Dell Vostro 1520.

All functionality (backlight, volume, physical wireless switch, &c)
is there without the dell-laptop module so this blacklists the
Dell Vostro 1520.

BugLink: http://bugs.launchpad.net/bugs/701259
Signed-off-by: Ayan George <ayan.george@xxxxxxxxxxxxx>
Cc: <stable@xxxxxxxxxx>
---
drivers/platform/x86/dell-laptop.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/dell-laptop.c
b/drivers/platform/x86/dell-lapt
op.c
index 34657f9..ed889a2 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -144,6 +144,13 @@ static struct dmi_system_id __devinitdata
dell_blacklist[]
= {
DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 1210"),
},
},
+ {
+ .ident = "Dell Vostro 1520",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Vostro 1520"),
+ },
+ },
{}
};

--
1.7.1

--
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/