]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-atapi: accomodate transfer length calculation for ide-cd
authorBorislav Petkov <petkovbb@googlemail.com>
Fri, 2 Jan 2009 15:12:52 +0000 (16:12 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 2 Jan 2009 15:12:52 +0000 (16:12 +0100)
commit392de1d53dd40e2eebee3a0a26aa647a3865ca78
tree6e904d52596b73d0f1ab343a4e84b0d8de5958fe
parent4f02ff06b4d33aba50ce5157c23e99cd21d447ee
ide-atapi: accomodate transfer length calculation for ide-cd

... by factoring it out of ide_cd_do_request() into a helper, as suggested by
Bart.

There should be no functionality change resulting from this patch.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
[bart: BLK_DEV_IDECD needs to select IDE_ATAPI now]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/Kconfig
drivers/ide/ide-atapi.c
drivers/ide/ide-cd.c
include/linux/ide.h