• B
    ide: relax DMA info validity checking · 346c17a6
    Bartlomiej Zolnierkiewicz 提交于
    There are some broken devices that report multiple DMA xfer modes
    enabled at once (ATA spec doesn't allow it) but otherwise work fine
    with DMA so just delete ide_id_dma_bug().
    
    [ As discovered by detective work by Frans and Bart, due to how
      handling of the ID block was handled before commit c4199930
      ("ide-iops: only clear DMA words on setting DMA mode") this
      check was always seeing zeros in the fields or other similar
      garbage.  Therefore this check wasn't actually checking anything.
      Now that the tests actually check the real bits, all we see are
      devices that trigger the check yet work perfectly fine, therefore
      killing this useless check is the best thing to do. -DaveM ]
    Reported-by: NFrans Pop <elendil@planet.nl>
    Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    346c17a6
ide-dma.c 13.3 KB