Bartlomiej Zolnierkiewicz
2d5eaa6dd7
ide: rework the code for selecting the best DMA transfer mode (v3)
...
Depends on the "ide: fix UDMA/MWDMA/SWDMA masks" patch.
* add ide_hwif_t.udma_filter hook for filtering UDMA mask
(use it in alim15x3, hpt366, siimage and serverworks drivers)
* add ide_max_dma_mode() for finding best DMA mode for the device
(loosely based on some older libata-core.c code)
* convert ide_dma_speed() users to use ide_max_dma_mode()
* make ide_rate_filter() take "ide_drive_t *drive" as an argument instead
of "u8 mode" and teach it to how to use UDMA mask to do filtering
* use ide_rate_filter() in hpt366 driver
* remove no longer needed ide_dma_speed() and *_ratemask()
* unexport eighty_ninty_three()
v2:
* rename ->filter_udma_mask to ->udma_filter
[ Suggested by Sergei Shtylyov <sshtylyov@ru.mvista.com >. ]
v3:
* updated for scc_pata driver (fixes XFER_UDMA_6 filtering for user-space
originated transfer mode change requests when 100MHz clock is used)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com >
2007-05-10 00:01:08 +02:00
..
2007-05-08 11:15:00 -07:00
2007-05-08 11:15:16 -07:00
2007-05-07 12:34:24 -07:00
2007-05-08 11:15:16 -07:00
2007-05-07 12:12:55 -07:00
2007-05-08 11:15:15 -07:00
2007-05-08 11:15:06 -07:00
2007-05-07 12:12:52 -07:00
2007-05-07 12:12:52 -07:00
2007-05-07 12:13:00 -07:00
2007-05-07 12:13:00 -07:00
2007-05-08 11:15:27 -07:00
2007-05-08 11:15:27 -07:00
2007-05-08 11:15:13 -07:00
2007-05-08 11:15:05 -07:00
2007-05-05 14:55:20 -07:00
2007-05-08 11:15:25 -07:00
2007-05-08 11:15:03 -07:00
2007-05-08 11:15:10 -07:00
2007-05-08 11:15:26 -07:00
2007-05-08 11:15:14 -07:00
2007-05-08 11:15:10 -07:00
2007-05-07 12:12:58 -07:00
2007-05-07 12:13:02 -07:00
2007-05-08 11:15:12 -07:00
2007-05-08 11:15:32 -07:00
2007-05-06 20:38:28 -04:00
2007-05-08 11:15:31 -07:00
2007-05-08 11:15:04 -07:00
2007-05-08 11:15:03 -07:00
2007-05-07 12:12:57 -07:00
2007-05-05 14:55:20 -07:00
2007-05-07 12:12:51 -07:00
2007-05-10 00:01:08 +02:00
2007-05-05 11:43:04 -07:00
2007-05-08 11:15:10 -07:00
2007-05-08 11:15:00 -07:00
2007-05-06 13:21:57 -07:00
2007-05-08 11:15:22 -07:00
2007-05-08 11:15:00 -07:00
2007-05-08 11:15:09 -07:00
2007-05-08 11:15:16 -07:00
2007-05-08 11:15:08 -07:00
2007-05-08 11:15:16 -07:00
2007-05-08 11:15:04 -07:00
2007-05-07 12:13:00 -07:00
2007-05-08 11:15:07 -07:00
2007-05-08 11:15:19 -07:00
2007-05-08 11:15:11 -07:00
2007-05-08 11:15:07 -07:00
2007-05-08 11:15:18 -07:00
2007-05-07 12:12:57 -07:00
2007-05-07 12:12:53 -07:00
2007-05-07 12:12:54 -07:00
2007-05-07 12:12:52 -07:00
2007-05-08 11:15:00 -07:00
2007-05-08 11:15:08 -07:00
2007-05-08 11:15:13 -07:00
2007-05-05 11:42:03 -07:00
2007-05-08 11:15:21 -07:00
2007-05-08 11:15:00 -07:00
2007-05-04 17:59:07 -07:00
2007-05-07 12:12:59 -07:00
2007-05-08 11:14:57 -07:00
2007-05-08 11:15:05 -07:00
2007-05-08 11:15:05 -07:00
2007-05-05 14:15:32 -07:00
2007-05-04 19:36:58 -07:00
2007-05-08 11:15:14 -07:00
2007-05-08 11:15:00 -07:00
2007-05-08 11:54:19 +10:00
2007-05-08 11:15:23 -07:00
2007-05-08 11:14:57 -07:00
2007-05-08 11:15:01 -07:00
2007-05-07 12:12:54 -07:00
2007-05-08 11:15:15 -07:00
2007-05-08 11:15:05 -07:00
2007-05-08 11:15:00 -07:00
2007-05-07 00:34:20 -07:00
2007-05-08 11:15:18 -07:00
2007-05-08 11:15:17 -07:00
2007-05-07 12:12:58 -07:00
2007-05-07 12:12:50 -07:00
2007-05-07 12:12:57 -07:00
2007-05-07 12:12:54 -07:00
2007-05-08 11:15:11 -07:00
2007-05-08 11:14:58 -07:00
2007-05-08 11:15:18 -07:00
2007-05-08 13:37:51 +10:00
2007-05-08 11:15:33 -07:00
2007-05-08 11:15:05 -07:00
2007-05-08 22:41:47 +02:00
2007-05-08 11:15:18 -07:00
2007-05-08 11:15:05 -07:00
2007-05-08 11:15:04 -07:00
2007-05-07 12:12:58 -07:00
2007-05-08 11:15:00 -07:00
2007-05-08 11:15:04 -07:00
2007-05-08 11:15:33 -07:00
2007-05-08 11:15:05 -07:00
2007-05-04 12:55:39 -07:00