commit | 3f9dd27a22ff79b6b6c4eccd19e4063bff0ddc7e | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@openvz.org> | Fri Nov 10 22:52:46 2006 +0300 |
committer | Jeff Garzik <jeff@garzik.org> | Tue Nov 14 09:52:08 2006 -0500 |
tree | 173df39c75df478434b624363763bbabf94e4c6e | |
parent | b5bf24b94c65536d3cc2bf9039ab05b3967f7b7f [diff] [blame] |
[PATCH] pata_artop: fix "& (1 >>" typo Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
diff --git a/drivers/ata/pata_artop.c b/drivers/ata/pata_artop.c index 690828e..96a0980 100644 --- a/drivers/ata/pata_artop.c +++ b/drivers/ata/pata_artop.c
@@ -92,7 +92,7 @@ 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;