From: Bartlomiej Zolnierkiewicz Date: Mon, 13 Oct 2008 19:39:40 +0000 (+0200) Subject: ide: use 'drive->dn & 1' instead of drive->select.b.unit X-Git-Tag: v2.6.28-rc1~599^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=123995b97136cb41fa282f0ed2385f2c8066df96;p=pandora-kernel.git ide: use 'drive->dn & 1' instead of drive->select.b.unit * Call ide_port_init_devices() in ide_host_register() also if 'struct ide_port_info *d' is not available. * Init drive->dn in ide_port_init_devices() instead of ide_probe_port() so it is valid also in ->init_dev. * Pass device number to ide_dev_apply_params(). * Use 'drive->dn & 1' instead of drive->select.b.unit. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed