]> err.no Git - linux-2.6/commit
ide: Add ide_get_paired_drive() helper
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 18 Oct 2007 22:30:05 +0000 (00:30 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 18 Oct 2007 22:30:05 +0000 (00:30 +0200)
commit1b678347121001c3c230c6eccfdf9f65c3ec1a4e
tree06fbd912de1d6cb032db4a25868fb8600d344c06
parentd85714d81cc0408daddb68c10f7fd69eafe7c213
ide: Add ide_get_paired_drive() helper

This adds a helper to get to the "other" drive on a pair connected
to a given hwif.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Andrew Morton <akpm@osdl.org>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
include/linux/ide.h