Loading drivers/ata/pata_artop.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -92,7 +92,7 @@ static int artop6260_pre_reset(struct ata_port *ap) return -ENOENT; return -ENOENT; pci_read_config_byte(pdev, 0x49, &tmp); pci_read_config_byte(pdev, 0x49, &tmp); if (tmp & (1 >> ap->port_no)) if (tmp & (1 << ap->port_no)) ap->cbl = ATA_CBL_PATA40; ap->cbl = ATA_CBL_PATA40; else else ap->cbl = ATA_CBL_PATA80; ap->cbl = ATA_CBL_PATA80; Loading Loading
drivers/ata/pata_artop.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -92,7 +92,7 @@ static int artop6260_pre_reset(struct ata_port *ap) return -ENOENT; return -ENOENT; pci_read_config_byte(pdev, 0x49, &tmp); pci_read_config_byte(pdev, 0x49, &tmp); if (tmp & (1 >> ap->port_no)) if (tmp & (1 << ap->port_no)) ap->cbl = ATA_CBL_PATA40; ap->cbl = ATA_CBL_PATA40; else else ap->cbl = ATA_CBL_PATA80; ap->cbl = ATA_CBL_PATA80; Loading