Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172887
b: refs/heads/master
c: dd4a43c
h: refs/heads/master
i:
  172885: 0375502
  172883: a0fdad4
  172879: 6fd5b98
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Jeff Garzik committed Dec 3, 2009
1 parent 4fd60b3 commit 1409377
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a809c68752e63312c20fb027cf33da4a5ac384a5
refs/heads/master: dd4a43c979d5da7f2cd20e2751dbbd841116cdfe
4 changes: 2 additions & 2 deletions trunk/drivers/ata/pata_radisys.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ static void radisys_set_dmamode (struct ata_port *ap, struct ata_device *adev)
pci_read_config_byte(dev, 0x4A, &udma_mode);

if (adev->xfer_mode == XFER_UDMA_2)
udma_mode &= ~ (1 << adev->devno);
udma_mode &= ~(2 << (adev->devno * 4));
else /* UDMA 4 */
udma_mode |= (1 << adev->devno);
udma_mode |= (2 << (adev->devno * 4));

pci_write_config_byte(dev, 0x4A, udma_mode);

Expand Down

0 comments on commit 1409377

Please sign in to comment.