]> git.baikalelectronics.ru Git - kernel.git/commit
ide-pmac: use custom hwif->sg_max_nents only if DMA support is enabled
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Jan 2008 19:13:08 +0000 (20:13 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Jan 2008 19:13:08 +0000 (20:13 +0100)
commit0ce1b0f921c311d1bd5dcd7d65f863b0e2a83b68
tree32daca85380f3448c0370dd651cca724877938a2
parentd8fc44342bcbdf5759b6582310d8c25772a26c28
ide-pmac: use custom hwif->sg_max_nents only if DMA support is enabled

Move setting hwif->sg_max_nents from pmac_ide_setup_device()
to pmac_ide_setup_dma().

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ppc/pmac.c