Commit 3f9dd27a authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Jeff Garzik

[PATCH] pata_artop: fix "& (1 >>" typo

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@openvz.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent b5bf24b9
...@@ -92,7 +92,7 @@ static int artop6260_pre_reset(struct ata_port *ap) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment