hpt366: enable all quirks for devices on quirk_drives[] list
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 7 Jun 2009 13:37:08 +0000 (15:37 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 7 Jun 2009 13:37:08 +0000 (15:37 +0200)
Enable also quirks in do_reset1() and ide_config_drive_speed()
for devices on quirk_drives[] list.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/hpt366.c

index 47b31dacd5260082f713597485adb4a225d30ade..cb04523e31cb01884a2c481cc8a102047b343911 100644 (file)
@@ -740,7 +740,7 @@ static void hpt3xx_quirkproc(ide_drive_t *drive)
 
        while (*list)
                if (strstr(m, *list++)) {
-                       drive->quirk_list = 1;
+                       drive->quirk_list = 2;
                        return;
                }