]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: add ide_execute_pkt_cmd() helper
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 28 Apr 2008 21:44:39 +0000 (23:44 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 28 Apr 2008 21:44:39 +0000 (23:44 +0200)
commit1fc142589e58b20a67582974b8848595a2c7432e
tree79b2006e761c70876d66a735fb30036cefb3f3e9
parent3910dde6410e742f8bd3f516ee9b1a7114abbad0
ide: add ide_execute_pkt_cmd() helper

Add ide_execute_pkt_cmd() helper for executing PACKET command,
then convert ATAPI device drivers to use it.

As a nice side-effect this fixes ide-{floppy,tape,scsi} w.r.t.
ide_lock taking (ide-cd was OK).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c
drivers/ide/ide-floppy.c
drivers/ide/ide-iops.c
drivers/ide/ide-tape.c
drivers/scsi/ide-scsi.c
include/linux/ide.h