Jeff Garzik 1b52f2a41c Revert "pata_sis: Implement MWDMA for the UDMA 133 capable chips"
This reverts commit f20941f334d8fdb6b598658979709b4e94cd034b.

Sergei Shtylyov notes "You call min() on uncomparables [in
mwdma_clip_to_pio()], i.e. mwdma_to_pio[] contains XFER_PIO_* and
adev->pio_mode - XFER_PIO_0 yields you a mode number.  Thus the second
argument will always "win" as a minimal one"

Bartlomiej Zolnierkiewicz adds "There are more issues with the patch related
to mwdma_clip_to_pio().  The function can return values between 0 and
4 which obviously won't work well for the new code below for values
>2 (i.e. resulting in out-of-bounds array access for the common-case
of dev->pio_mode == XFER_PIO_4)."

Bartlomiej Zolnierkiewicz also notes the patch is incomplete, failing to
update MWDMA mode masks.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-12-07 11:41:25 -05:00
..
2009-10-06 00:26:27 -04:00
2009-03-24 22:45:05 -04:00
2009-08-12 06:16:47 -04:00
2009-12-03 14:36:17 -05:00
2009-12-03 14:36:17 -05:00
2009-12-03 14:36:17 -05:00
2009-03-28 20:29:51 +00:00
2009-06-08 09:12:28 -07:00
2009-07-28 21:05:18 -04:00
2009-09-11 02:25:58 -04:00
2009-12-03 16:11:24 -05:00
2009-09-11 02:25:58 -04:00
2009-10-16 06:22:40 -04:00
2009-12-03 14:36:17 -05:00
2009-09-17 16:46:34 -04:00
2008-01-23 05:24:15 -05:00
2009-09-08 21:17:36 -04:00
2007-07-02 10:17:42 -04:00