linux-stable/drivers/ide/legacy
Bartlomiej Zolnierkiewicz 123995b971 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>
2008-10-13 21:39:40 +02:00
..
ali14xx.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
buddha.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
dtc2278.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
falconide.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
gayle.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
ht6560b.c ide: add device flags 2008-10-13 21:39:36 +02:00
ide-4drives.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
ide-cs.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
ide_platform.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
macide.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
Makefile ide: add ide-4drives host driver (take 3) 2008-04-18 00:46:34 +02:00
q40ide.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
qd65xx.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
qd65xx.h qd65xx: use IDE_HFLAG_SINGLE host flag 2008-04-26 17:36:42 +02:00
umc8672.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00