Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205203
b: refs/heads/master
c: 728e0ea
h: refs/heads/master
i:
  205201: 13b0a24
  205199: 1c02e9c
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Aug 1, 2010
1 parent 2a5bc29 commit 3e0fdd8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: b429dd5998d6037e0057564f3894f56aff64d661
refs/heads/master: 728e0eaf99631d197e5158e21b4a8c4335a39231
4 changes: 0 additions & 4 deletions trunk/drivers/ata/ata_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ static int generic_set_mode(struct ata_link *link, struct ata_device **unused)
const struct pci_device_id *id = ap->host->private_data;
int dma_enabled = 0;
struct ata_device *dev;
struct pci_dev *pdev = to_pci_dev(ap->host->dev);

if (id->driver_data & ATA_GEN_FORCE_DMA) {
dma_enabled = 0xff;
Expand All @@ -63,9 +62,6 @@ static int generic_set_mode(struct ata_link *link, struct ata_device **unused)
dma_enabled = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS);
}

if (pdev->vendor == PCI_VENDOR_ID_CENATEK)
dma_enabled = 0xFF;

ata_for_each_dev(dev, link, ENABLED) {
/* We don't really care */
dev->pio_mode = XFER_PIO_0;
Expand Down

0 comments on commit 3e0fdd8

Please sign in to comment.