]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ide: add ide_dma_prepare() helper
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 31 Mar 2009 18:15:20 +0000 (20:15 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 31 Mar 2009 18:15:20 +0000 (20:15 +0200)
commit5ae5412d9a23b05ab08461b202bad21ad8f6b66d
tree25d86e7cf0b57e15efa74e5150c2a654fc9339c9
parent4453011f959a5f5c6c7a33aea54fe17f5e43a867
ide: add ide_dma_prepare() helper

* Add ide_dma_prepare() helper.

* Convert ide_issue_pc() and do_rw_taskfile() to use it.

* Make ide_build_sglist() static.

There should be no functional changes caused by this patch.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-atapi.c
drivers/ide/ide-dma.c
drivers/ide/ide-taskfile.c
include/linux/ide.h