[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B05BD2A.5070706@pobox.com>
Date: Thu, 19 Nov 2009 16:48:26 -0500
From: Jeff Garzik <jgarzik@...ox.com>
To: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
CC: Alan Cox <alan@...rguk.ukuu.org.uk>,
Alan Cox <alan@...ux.intel.com>, linux-kernel@...r.kernel.org,
linux-ide@...r.kernel.org
Subject: Re: [PATCH 4/5] pata: Update experimental tags
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists