summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-iops.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2008-10-13 21:39:40 +0200
committerBartlomiej Zolnierkiewicz2008-10-13 21:39:40 +0200
commit123995b97136cb41fa282f0ed2385f2c8066df96 (patch)
tree39b994f29bac4dc931be9abdde1e7f5412692856 /drivers/ide/ide-iops.c
parentcy82c693: remove no longer needed CY82C693_DEBUG_LOGS code (diff)
downloadkernel-qcow2-linux-123995b97136cb41fa282f0ed2385f2c8066df96.tar.gz
kernel-qcow2-linux-123995b97136cb41fa282f0ed2385f2c8066df96.tar.xz
kernel-qcow2-linux-123995b97136cb41fa282f0ed2385f2c8066df96.zip
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 <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-iops.c')
0 files changed, 0 insertions, 0 deletions