ide: move command related fields from ide_hwif_t to struct ide_cmd
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:38 +0000 (12:46 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:38 +0000 (12:46 +0100)
commitb6308ee0c55acd2e943d849773c9f0a49c516317
treee56f59a7935fccdf0145ffd4638a066bf4ba1e17
parentadb1af9803d167091c2cb4de14014185054bfe2c
ide: move command related fields from ide_hwif_t to struct ide_cmd

* Move command related fields from ide_hwif_t to struct ide_cmd.

* Make ide_init_sg_cmd() take command and sectors number as arguments.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
12 files changed:
drivers/ide/au1xxx-ide.c
drivers/ide/icside.c
drivers/ide/ide-disk.c
drivers/ide/ide-dma-sff.c
drivers/ide/ide-dma.c
drivers/ide/ide-floppy.c
drivers/ide/ide-io.c
drivers/ide/ide-taskfile.c
drivers/ide/pmac.c
drivers/ide/sgiioc4.c
drivers/ide/tx4939ide.c
include/linux/ide.h