[PATCH 2/4] hpt366: enable all quirks for devices on quirk_drives[] list

From: Bartlomiej Zolnierkiewicz
Date: Wed May 20 2009 - 11:33:00 EST


Enable also quirks in do_reset1() and ide_config_drive_speed()
for devices on quirk_drives[] list.

Cc: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
---
drivers/ide/hpt366.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/drivers/ide/hpt366.c
===================================================================
--- a/drivers/ide/hpt366.c
+++ b/drivers/ide/hpt366.c
@@ -740,7 +740,7 @@ static void hpt3xx_quirkproc(ide_drive_t

while (*list)
if (strstr(m, *list++)) {
- drive->quirk_list = 1;
+ drive->quirk_list = 2;
return;
}

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/