diff options
-rw-r--r-- | drivers/ide/pci/amd74xx.c | 1 | ||||
-rw-r--r-- | drivers/ide/pci/via82cxxx.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/pci/amd74xx.c b/drivers/ide/pci/amd74xx.c index c7b3a5650259..a39bc6e8d059 100644 --- a/drivers/ide/pci/amd74xx.c +++ b/drivers/ide/pci/amd74xx.c | |||
@@ -383,7 +383,6 @@ static void __devinit init_hwif_amd74xx(ide_hwif_t *hwif) | |||
383 | hwif->drives[i].io_32bit = 1; | 383 | hwif->drives[i].io_32bit = 1; |
384 | hwif->drives[i].unmask = 1; | 384 | hwif->drives[i].unmask = 1; |
385 | hwif->drives[i].autotune = 1; | 385 | hwif->drives[i].autotune = 1; |
386 | hwif->drives[i].dn = hwif->channel * 2 + i; | ||
387 | } | 386 | } |
388 | 387 | ||
389 | if (!hwif->dma_base) | 388 | if (!hwif->dma_base) |
diff --git a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c index bf9957fe21a8..b25fb65b240e 100644 --- a/drivers/ide/pci/via82cxxx.c +++ b/drivers/ide/pci/via82cxxx.c | |||
@@ -438,7 +438,6 @@ static void __devinit init_hwif_via82cxxx(ide_hwif_t *hwif) | |||
438 | hwif->drives[i].io_32bit = 1; | 438 | hwif->drives[i].io_32bit = 1; |
439 | hwif->drives[i].unmask = (vdev->via_config->flags & VIA_NO_UNMASK) ? 0 : 1; | 439 | hwif->drives[i].unmask = (vdev->via_config->flags & VIA_NO_UNMASK) ? 0 : 1; |
440 | hwif->drives[i].autotune = 1; | 440 | hwif->drives[i].autotune = 1; |
441 | hwif->drives[i].dn = hwif->channel * 2 + i; | ||
442 | } | 441 | } |
443 | 442 | ||
444 | if (!hwif->dma_base) | 443 | if (!hwif->dma_base) |