kernel_optimize_test/drivers/ide
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
..
arm ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
h8300 ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
legacy ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
mips ide: remove superfluous ->waiting_for_dma checks 2008-10-13 21:39:38 +02:00
pci ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
ppc ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
ide-acpi.c ide: add device flags 2008-10-13 21:39:36 +02:00
ide-atapi.c ide: add device flags 2008-10-13 21:39:36 +02:00
ide-cd_ioctl.c ide: ide-cd_ioctl.c fix sparse integer as NULL pointer warnings 2008-07-23 19:56:02 +02:00
ide-cd_verbose.c
ide-cd.c ide: remove superfluous ->media field from ide_driver_t 2008-10-13 21:39:37 +02:00
ide-cd.h ide-cd: convert to using the new atapi_flags 2008-07-23 19:56:02 +02:00
ide-disk.c ide: fix HDIO_DRIVE_TASK[FILE] ioctls for CHS commands on LBA devices 2008-10-13 21:39:38 +02:00
ide-dma.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
ide-floppy_ioctl.c ide: add ide_retry_pc() helper 2008-10-13 21:39:32 +02:00
ide-floppy.c ide: remove superfluous ->media field from ide_driver_t 2008-10-13 21:39:37 +02:00
ide-floppy.h ide: make ide_transfer_pc() static 2008-10-13 21:39:32 +02:00
ide-generic.c ide-generic: handle probing of legacy io-ports v5 2008-10-10 22:39:35 +02:00
ide-io.c ide: sanitize ide*_pm_* enums 2008-10-13 21:39:38 +02:00
ide-ioctls.c ide: add device flags 2008-10-13 21:39:36 +02:00
ide-iops.c ide: add device flags 2008-10-13 21:39:36 +02:00
ide-lib.c ide: add device flags 2008-10-13 21:39:36 +02:00
ide-pio-blacklist.c ide: move PIO blacklist to ide-pio-blacklist.c 2008-07-16 20:33:39 +02:00
ide-pnp.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
ide-probe.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
ide-proc.c ide: add device flags 2008-10-13 21:39:36 +02:00
ide-scan-pci.c
ide-tape.c ide: remove superfluous ->media field from ide_driver_t 2008-10-13 21:39:37 +02:00
ide-taskfile.c ide: add device flags 2008-10-13 21:39:36 +02:00
ide-timings.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
ide.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
Kconfig ide: remove CONFIG_BLK_DEV_IDE config option (take 2) 2008-10-13 21:39:33 +02:00
Makefile ide: remove CONFIG_BLK_DEV_IDE config option (take 2) 2008-10-13 21:39:33 +02:00
setup-pci.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00