Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172864
b: refs/heads/master
c: d6250a0
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Jeff Garzik committed Dec 3, 2009
1 parent 1cabe66 commit f80780d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: be315d46156b3db3f4d7eddd1f85549a8a70e962
refs/heads/master: d6250a03fa736c1bff4df4601f5af2dc21f2bf9e
4 changes: 3 additions & 1 deletion trunk/drivers/ata/pata_ali.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,9 @@ static void ali_init_chipset(struct pci_dev *pdev)
/* Clear CD-ROM DMA write bit */
tmp &= 0x7F;
/* Cable and UDMA */
pci_write_config_byte(pdev, 0x4B, tmp | 0x09);
if (pdev->revision >= 0xc2)
tmp |= 0x01;
pci_write_config_byte(pdev, 0x4B, tmp | 0x08);
/*
* CD_ROM DMA on (0x53 bit 0). Enable this even if we want
* to use PIO. 0x53 bit 1 (rev 20 only) - enable FIFO control
Expand Down

0 comments on commit f80780d

Please sign in to comment.