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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux