Commit 7abe79c3 authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik

ata_piix: add Tecra M3 to broken suspend blacklist

Add Tecra M3 to the broken suspend blacklist.  Tecra M3 doesn't have
proper DMI_PRODUCT_NAME but has an OEM_STRING instead.  Match it.
Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 8c3832eb
...@@ -916,10 +916,18 @@ static int piix_broken_suspend(void) ...@@ -916,10 +916,18 @@ static int piix_broken_suspend(void)
}, },
{ } { }
}; };
static const char *oemstrs[] = {
"Tecra M3,",
};
int i;
if (dmi_check_system(sysids)) if (dmi_check_system(sysids))
return 1; return 1;
for (i = 0; i < ARRAY_SIZE(oemstrs); i++)
if (dmi_find_device(DMI_DEV_TYPE_OEM_STRING, oemstrs[i], NULL))
return 1;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment