ide: add ->cur_port to struct ide_host and use it for serialized hosts
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 6 Jan 2009 16:20:48 +0000 (17:20 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 6 Jan 2009 16:20:48 +0000 (17:20 +0100)
commitbd53cbcce501b61921a1af2dddfa87c5b9923dfd
tree73ffd27a76dd2594fc93073f663a96df505a282f
parent42cf2611b28602cf4c9dc7c22bc8653a10dff60d
ide: add ->cur_port to struct ide_host and use it for serialized hosts

* Pass 'ide_hwif_t *' instead of 'ide_hwgroup_t *' to unexpected_intr().

* Cache pointer to the port currently being serviced in ->cur_port
  and use it instead of hwif->hwgroup on serialized hosts.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c
include/linux/ide.h