From: Bartlomiej Zolnierkiewicz Date: Fri, 19 Oct 2007 22:32:32 +0000 (+0200) Subject: ide: fix ide_register_hw() to check hwif->io_ports[] X-Git-Tag: v2.6.24-rc1~128^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f173b5bf460a85791c131e774dc992f8cd578c1;p=pandora-kernel.git ide: fix ide_register_hw() to check hwif->io_ports[] hwif->hw.io_ports[] and hwif->io_ports[] should be the same but "4drives" support and scc_pata host driver set only hwif->io_ports[]. To compensate for this check hwif->io_ports[] instead of hwif->hw.io_ports[] in ide_register_hw() (instead of fixing "4drives" and scc_pata because hwif->hw is to be removed). Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed