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

Jeff Garzik
2009-11-19T21:48:30Z

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