diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-01-06 11:20:48 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-01-06 11:20:48 -0500 |
commit | bd53cbcce501b61921a1af2dddfa87c5b9923dfd (patch) | |
tree | 73ffd27a76dd2594fc93073f663a96df505a282f /include/linux/ide.h | |
parent | 42cf2611b28602cf4c9dc7c22bc8653a10dff60d (diff) |
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>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index db5ef8ae1ab9..3de13df8bcef 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -852,6 +852,7 @@ struct ide_host { | |||
852 | unsigned int (*init_chipset)(struct pci_dev *); | 852 | unsigned int (*init_chipset)(struct pci_dev *); |
853 | unsigned long host_flags; | 853 | unsigned long host_flags; |
854 | void *host_priv; | 854 | void *host_priv; |
855 | ide_hwif_t *cur_port; /* for hosts requiring serialization */ | ||
855 | }; | 856 | }; |
856 | 857 | ||
857 | /* | 858 | /* |