]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: add pointer to the current packet command to ide_drive_t
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:31 +0000 (21:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:31 +0000 (21:39 +0200)
commit2b9efba48283f34083df6bc53f6752fba4e4d409
tree215d86f1934c896f8ec609ab033b69bf5b99e217
parentb14c72127fbe8f97e49de7437520175673f7306a
ide: add pointer to the current packet command to ide_drive_t

* Add pointer to the current packet command (struct ide_atapi_pc *pc)
  to ide_drive_t and use it instead of the pointer in struct ide_*_obj.

* Use drive->pc in ide_{issue,transfer}_pc() and ide_pc_intr()
  instead of 'pc' argument.

There should be no functional changes caused by this patch.

Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-atapi.c
drivers/ide/ide-floppy.c
drivers/ide/ide-floppy.h
drivers/ide/ide-tape.c
drivers/scsi/ide-scsi.c
include/linux/ide.h