android_kernel_motorola_sm6225/drivers/ide/pci
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
..
aec62xx.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
alim15x3.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
amd74xx.c ide: add device flags 2008-10-13 21:39:36 +02:00
atiixp.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
cmd64x.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
cmd640.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
cs5520.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
cs5530.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
cs5535.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
cy82c693.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
delkin_cb.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
generic.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
hpt34x.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
hpt366.c ide: remove superfluous ->waiting_for_dma checks 2008-10-13 21:39:38 +02:00
it821x.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
it8213.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
jmicron.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
Makefile ide-pci-generic: kill the unused ifdef/endif/MODULE code 2008-02-06 02:57:49 +01:00
ns87415.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
opti621.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
pdc202xx_new.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
pdc202xx_old.c ide: add device flags 2008-10-13 21:39:36 +02:00
piix.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
rz1000.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
sc1200.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
scc_pata.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
serverworks.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
sgiioc4.c sgiioc4: fix messages 2008-10-13 21:39:30 +02:00
siimage.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
sis5513.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
sl82c105.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
slc90e66.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
tc86c001.c drivers/ide/pci/: use __devexit_p() 2008-08-18 21:40:03 +02:00
triflex.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
trm290.c ide: add device flags 2008-10-13 21:39:36 +02:00
via82cxxx.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00