• Tejun Heo's avatar
    ata_piix: add borked Tecra M4 to broken suspend list · 1eedb4a9
    Tejun Heo authored
    Tecra M4 sometimes forget what it is and reports bogus data via DMI
    which makes the machine evade broken suspend matching and thus fail
    suspend/resume.  This patch updates piix_broken_suspend() such that it
    can match such case.  As the borked DMI data is a bit generic,
    matching many entries to make the match more specific is necessary.
    As the usual DMI matching is limited to four entries, this patch uses
    hard coded manual matching.
    
    This is reported by Alexandru Romanescu.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Alexandru Romanescu <a_romanescu@yahoo.co.uk>
    Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
    1eedb4a9
ata_piix.c 41.6 KB