[PATCH] pata_artop: fix "& (1 >>" typo
authorAlexey Dobriyan <adobriyan@openvz.org>
Fri, 10 Nov 2006 19:52:46 +0000 (22:52 +0300)
committerJeff Garzik <jeff@garzik.org>
Tue, 14 Nov 2006 14:52:08 +0000 (09:52 -0500)
Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_artop.c

index 690828eb5226e8d48a3c7f59cb39ab48ba4ae968..96a098020a8f743a6206370c74af03897ce54f36 100644 (file)
@@ -92,7 +92,7 @@ static int artop6260_pre_reset(struct ata_port *ap)
                return -ENOENT;
 
        pci_read_config_byte(pdev, 0x49, &tmp);
-       if (tmp & (1 >> ap->port_no))
+       if (tmp & (1 << ap->port_no))
                ap->cbl = ATA_CBL_PATA40;
        else
                ap->cbl = ATA_CBL_PATA80;