Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93651
b: refs/heads/master
c: 23658f8
h: refs/heads/master
i:
  93649: 30ead61
  93647: 8c6a6c0
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Apr 26, 2008
1 parent b83afab commit 1fc132b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 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: 6d36b95fe2cc5655e96da42eaf19f1aa341c6856
refs/heads/master: 23658f8af3dbba53ae9796e4c37c2fdd0272662e
1 change: 0 additions & 1 deletion trunk/drivers/ide/pci/alim15x3.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,6 @@ static void __devinit init_dma_ali15x3 (ide_hwif_t *hwif, unsigned long dmabase)
{
if (!hwif->channel)
outb(inb(dmabase + 2) & 0x60, dmabase + 2);
ide_setup_dma(hwif, dmabase);
}

static const struct ide_port_ops ali_port_ops = {
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/ide/pci/hpt366.c
Original file line number Diff line number Diff line change
Expand Up @@ -1348,8 +1348,6 @@ static void __devinit init_dma_hpt366(ide_hwif_t *hwif, unsigned long dmabase)
outb(dma_new, dmabase + 2);

local_irq_restore(flags);

ide_setup_dma(hwif, dmabase);
}

static void __devinit hpt374_init(struct pci_dev *dev, struct pci_dev *dev2)
Expand Down
7 changes: 3 additions & 4 deletions trunk/drivers/ide/setup-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,10 @@ void ide_hwif_setup_dma(ide_hwif_t *hwif, const struct ide_port_info *d)
}
}
if (dma_base) {
if (d->init_dma) {
if (d->init_dma)
d->init_dma(hwif, dma_base);
} else {
ide_setup_dma(hwif, dma_base);
}

ide_setup_dma(hwif, dma_base);
} else {
printk(KERN_INFO "%s: %s Bus-Master DMA disabled "
"(BIOS)\n", hwif->name, d->name);
Expand Down

0 comments on commit 1fc132b

Please sign in to comment.