]> err.no Git - linux-2.6/commit
amd74xx/via82cxxx: use ide_tune_dma()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 11 Oct 2007 21:54:00 +0000 (23:54 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 11 Oct 2007 21:54:00 +0000 (23:54 +0200)
commit55f17e8da1f02ce0a36303a3f266c45045004cf5
tree15116d738353dc99e7bf6d9f32044eedefeb1ae6
parent26bcb879c03254545a19c6700fe5bcef6f21e7b1
amd74xx/via82cxxx: use ide_tune_dma()

* Use ide_tune_dma() in amd74xx/via82cxxx driver, this fixes following bugs:
  - DMA capability bit not being checked on the device
  - DMA blacklist not being checked
  - DMA mode being programmed even if drive->autodma == 0
    (thus possibly destroying PIO timings)

* Bump driver version.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/amd74xx.c
drivers/ide/pci/via82cxxx.c