Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71739
b: refs/heads/master
c: e9a0765
h: refs/heads/master
i:
  71737: 774ab91
  71735: f52fecf
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Oct 19, 2007
1 parent 57e2a49 commit 1e49328
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: 3dfd6433ff4d037262a4b8bede022e1d4bac06e3
refs/heads/master: e9a0765eac3c8df7094fd49f94ae83d80cbe4128
4 changes: 3 additions & 1 deletion trunk/drivers/ide/pci/cmd64x.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,9 @@ static void __devinit init_hwif_cmd64x(ide_hwif_t *hwif)
hwif->set_pio_mode = &cmd64x_set_pio_mode;
hwif->set_dma_mode = &cmd64x_set_dma_mode;

if (dev->device == PCI_DEVICE_ID_CMD_646)
hwif->chipset = ide_cmd646;

if (!hwif->dma_base)
return;

Expand Down Expand Up @@ -535,7 +538,6 @@ static void __devinit init_hwif_cmd64x(ide_hwif_t *hwif)
hwif->ide_dma_test_irq = &cmd648_ide_dma_test_irq;
break;
case PCI_DEVICE_ID_CMD_646:
hwif->chipset = ide_cmd646;
if (dev->revision == 0x01) {
hwif->ide_dma_end = &cmd646_1_ide_dma_end;
break;
Expand Down

0 comments on commit 1e49328

Please sign in to comment.