mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-13 00:20:06 +00:00
backlight: mbp_nvidia_bl - add support for older MacBookPro and MacBook 6,1.
Add support for all remaining models not yet present in Linus'/Richard Purdie's tree nor Evan McClain's patch to finally complete the list. Signed-off-by: Mario Schwalbe <schwalbe@inf.tu-dresden.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
8fdd5767eb
commit
8193db2291
@ -182,6 +182,42 @@ static const struct dmi_system_id __initdata mbp_device_table[] = {
|
||||
},
|
||||
.driver_data = (void *)&intel_chipset_data,
|
||||
},
|
||||
{
|
||||
.callback = mbp_dmi_match,
|
||||
.ident = "MacBookPro 1,1",
|
||||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro1,1"),
|
||||
},
|
||||
.driver_data = (void *)&intel_chipset_data,
|
||||
},
|
||||
{
|
||||
.callback = mbp_dmi_match,
|
||||
.ident = "MacBookPro 1,2",
|
||||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro1,2"),
|
||||
},
|
||||
.driver_data = (void *)&intel_chipset_data,
|
||||
},
|
||||
{
|
||||
.callback = mbp_dmi_match,
|
||||
.ident = "MacBookPro 2,1",
|
||||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro2,1"),
|
||||
},
|
||||
.driver_data = (void *)&intel_chipset_data,
|
||||
},
|
||||
{
|
||||
.callback = mbp_dmi_match,
|
||||
.ident = "MacBookPro 2,2",
|
||||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro2,2"),
|
||||
},
|
||||
.driver_data = (void *)&intel_chipset_data,
|
||||
},
|
||||
{
|
||||
.callback = mbp_dmi_match,
|
||||
.ident = "MacBookPro 3,1",
|
||||
@ -236,6 +272,15 @@ static const struct dmi_system_id __initdata mbp_device_table[] = {
|
||||
},
|
||||
.driver_data = (void *)&nvidia_chipset_data,
|
||||
},
|
||||
{
|
||||
.callback = mbp_dmi_match,
|
||||
.ident = "MacBook 6,1",
|
||||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "MacBook6,1"),
|
||||
},
|
||||
.driver_data = (void *)&nvidia_chipset_data,
|
||||
},
|
||||
{
|
||||
.callback = mbp_dmi_match,
|
||||
.ident = "MacBookAir 2,1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user