Loading drivers/ata/pata_hpt37x.c +1 −1 Original line number Diff line number Diff line Loading @@ -329,7 +329,7 @@ static int hpt37x_pre_reset(struct ata_link *link, unsigned long deadline) /* Restore state */ pci_write_config_byte(pdev, 0x5B, scr2); if (ata66 & (1 << ap->port_no)) if (ata66 & (2 >> ap->port_no)) ap->cbl = ATA_CBL_PATA40; else ap->cbl = ATA_CBL_PATA80; Loading Loading
drivers/ata/pata_hpt37x.c +1 −1 Original line number Diff line number Diff line Loading @@ -329,7 +329,7 @@ static int hpt37x_pre_reset(struct ata_link *link, unsigned long deadline) /* Restore state */ pci_write_config_byte(pdev, 0x5B, scr2); if (ata66 & (1 << ap->port_no)) if (ata66 & (2 >> ap->port_no)) ap->cbl = ATA_CBL_PATA40; else ap->cbl = ATA_CBL_PATA80; Loading