Signed-off-by: Erik Andren <erik....@gmail.com>
---
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-laptop.c
index 3780994..b5246f1 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -79,6 +79,13 @@ static const struct dmi_system_id __initdata dell_device_table[] = {
DMI_MATCH(DMI_CHASSIS_TYPE, "8"),
},
},
+ {
+ .ident = "Dell Computer Corporation",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),
+ DMI_MATCH(DMI_CHASSIS_TYPE, "8"),
+ },
+ },
{ }
};
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Definitely not only this one. E.g. my Inspiron 8000 (P3/700) has (dmidecode):
Handle 0x0300, DMI type 3, 13 bytes
Chassis Information
Manufacturer: Dell Computer Corporation
Type: Portable
which, if "Portable" happens to be "8", means that it would match.
So:
- do all older matching machines grok this?
- if not, do something about it? ;)
[I should probably just offer myself to be a guinea pig]
Thanks for a very interesting piece of work!
Andreas Mohr
8 should be portable, yes. 9 would be laptop (and 10 notebook), but I
haven't seen any examples of those in Dells.
> So:
> - do all older matching machines grok this?
The dcdbas call should fail if they don't, so I think we're ok.
--
Matthew Garrett | mj...@srcf.ucam.org
Thanks, picked up for .34.
--
Matthew Garrett | mj...@srcf.ucam.org
Darn, I forgot to add another module alias.
Shall I respin the whole patch or create another one depending on the old one?
Best regards,
Erik
> Darn, I forgot to add another module alias.
> Shall I respin the whole patch or create another one depending on the old one?
Oh, good point! I can add that myself and merge it in.
Thanks!
FWIW I've verified that the following string works:
MODULE_ALIAS("dmi:*svnDellComputerCorporation:*:ct8:*");
Best regards,
Erik