Re: [PATCH 4/5] pata: Update experimental tags

From: Jeff Garzik
Date: Thu Nov 19 2009 - 16:48:40 EST


On 11/19/2009 12:38 PM, Bartlomiej Zolnierkiewicz wrote:

Index: b/drivers/ata/pata_hpt3x2n.c
===================================================================
--- a/drivers/ata/pata_hpt3x2n.c
+++ b/drivers/ata/pata_hpt3x2n.c
@@ -133,7 +133,7 @@ static int hpt3x2n_cable_detect(struct a
/* Restore state */
pci_write_config_byte(pdev, 0x5B, scr2);

- if (ata66& (1<< ap->port_no))
+ if (ata66& (2>> ap->port_no))
return ATA_CBL_PATA40;
else
return ATA_CBL_PATA80;


Applied.

Note to Alan -- even if cable detect wants more changes, this is a nice, self-contained fix easily backported to stable@, etc. So I preferred the above form of change.

Please do send any updates you guys (Bart | Alan) have on top of libata-dev.git#upstream.

Thanks,

Jeff



--
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/