mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-04 09:27:57 +07:00
[PATCH] pata_artop: fix "& (1 >>" typo
Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
b5bf24b94c
commit
3f9dd27a22
@ -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…
Reference in New Issue
Block a user