Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7abe79c353caf868053c2ddcada7f4c20c8251e6
Commit:     7abe79c353caf868053c2ddcada7f4c20c8251e6
Parent:     8c3832ebeb049c5744ece888daae253c683257c3
Author:     Tejun Heo <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 27 14:55:07 2007 +0900
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Wed Aug 1 10:00:56 2007 -0400

    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: Tejun Heo <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/ata/ata_piix.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
index fb3b959..a78832e 100644
--- a/drivers/ata/ata_piix.c
+++ b/drivers/ata/ata_piix.c
@@ -916,10 +916,18 @@ static int piix_broken_suspend(void)
                },
                { }
        };
+       static const char *oemstrs[] = {
+               "Tecra M3,",
+       };
+       int i;
 
        if (dmi_check_system(sysids))
                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;
 }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to