[PATCH] PIIX: remove check for broken MW DMA mode 0
commit242ce41fc92214c3430495edd43783c3ba3dcd2b
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sat, 30 Dec 2006 00:49:18 +0000 (29 16:49 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 30 Dec 2006 18:56:43 +0000 (30 10:56 -0800)
treee550962d9ee6706ebdf8c49f1165428b0e63ecdc
parent755cd90029b61b96816b8ac0ab6a33a197f842d0
[PATCH] PIIX: remove check for broken MW DMA mode 0

There's no need to check in piix_config_drive_for_dma() for broken MW DMA
mode 0 as this mode is not supported by the driver (it sets
hwif->mwdma_mask to 0x6), and hence can't be selected by ide_dma_speed().

(Alan sayeth "Probably right but if not you've got a subtle corruptor.  Should
at least stick a BUG_ON mode 0 setting right close when the mode is set.")

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Acked-by: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/pci/piix.c