]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ide: use the dma safe check for REQ_TYPE_ATA_PC
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Wed, 16 Jul 2008 18:33:35 +0000 (20:33 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 16 Jul 2008 18:33:35 +0000 (20:33 +0200)
commite5318b531b008c79d2a0c0df06a7b8628da38e2f
treedeaeb64e1962a35abef76a0e5e93fff8cba93fe5
parent0b6abc17700a7843b165c677da0ac94522f83083
ide: use the dma safe check for REQ_TYPE_ATA_PC

This uses the dma safe check for REQ_TYPE_ATA_PC. The dma safe check
is used for only sg requests but it should be used for other non fs
commands.

This uses blk_queue_update_dma_pad to make the intention clear though
ide don't use the blk APIs so it doesn't change anything.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Borislav Petkov <petkovbb@gmail.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Tejun Heo <htejun@gmail.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c