ide: don't BUG() on unsupported transfer modes
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 13 Nov 2007 21:09:15 +0000 (22:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 13 Nov 2007 21:09:15 +0000 (22:09 +0100)
commit34c69b601b2ec8fc8ff6657a547ce3865d58e220
treeeddcf5c10d212612b0f381f9a2d7e9606c60eadc
parentc1f50cbb06363b36700c0a679a5bd3ddef0a97b6
ide: don't BUG() on unsupported transfer modes

Fix ide-cris, cs5530, sc1200 and sis5513 host drivers to just return instead
of OOPS-ing for unsupported modes in ->set_dma_mode methods.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/cris/ide-cris.c
drivers/ide/pci/cs5530.c
drivers/ide/pci/sc1200.c
drivers/ide/pci/sis5513.c