commit | 428c6440ef933a3d9df5adfeb2cbb3ea7ebb6a68 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Jan 25 22:17:18 2008 +0100 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Jan 25 22:17:18 2008 +0100 |
tree | a990f78d17cf7e8186bb607e4fcea912c6f46389 | |
parent | ad4ba7dcef285c92a6856e0dd9feb780c1a79b87 [diff] |
sis5513: factor out UDMA programming code * Factor out UDMA programming code from sis_set_dma_mode() to per chipset family helpers: sis_{ata33,ata133}_program_udma_timings(). * Add sis_program_udma_timings() helper. * Remove unneeded casts to 'unsigned long'. * Minor cleanups. There should be no functionality changes caused by this patch. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>