diff options
author | Alexey Dobriyan <adobriyan@openvz.org> | 2006-11-10 14:52:46 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-11-14 09:52:08 -0500 |
commit | 3f9dd27a22ff79b6b6c4eccd19e4063bff0ddc7e (patch) | |
tree | 173df39c75df478434b624363763bbabf94e4c6e /drivers/ata/pata_artop.c | |
parent | b5bf24b94c65536d3cc2bf9039ab05b3967f7b7f (diff) |
[PATCH] pata_artop: fix "& (1 >>" typo
Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_artop.c')
-rw-r--r-- | drivers/ata/pata_artop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_artop.c b/drivers/ata/pata_artop.c index 690828eb5226..96a098020a8f 100644 --- a/drivers/ata/pata_artop.c +++ b/drivers/ata/pata_artop.c | |||
@@ -92,7 +92,7 @@ static int artop6260_pre_reset(struct ata_port *ap) | |||
92 | return -ENOENT; | 92 | return -ENOENT; |
93 | 93 | ||
94 | pci_read_config_byte(pdev, 0x49, &tmp); | 94 | pci_read_config_byte(pdev, 0x49, &tmp); |
95 | if (tmp & (1 >> ap->port_no)) | 95 | if (tmp & (1 << ap->port_no)) |
96 | ap->cbl = ATA_CBL_PATA40; | 96 | ap->cbl = ATA_CBL_PATA40; |
97 | else | 97 | else |
98 | ap->cbl = ATA_CBL_PATA80; | 98 | ap->cbl = ATA_CBL_PATA80; |