linux/drivers/ide/legacy
Bartlomiej Zolnierkiewicz 4dde4492d8 ide: make drive->id an union (take 2)
Make drive->id an unnamed union so id can be accessed either by using
'u16 *id' or 'struct hd_driveid *driveid'.  Then convert all existing
drive->id users accordingly (using 'u16 *id' when possible).

This is an intermediate step to make ide 'struct hd_driveid'-free.

While at it:

- Add missing KERN_CONTs in it821x.c.

- Use ATA_ID_WORDS and ATA_ID_*_LEN defines.

- Remove unnecessary checks for drive->id.

- s/drive_table/table/ in ide_in_drive_list().

- Cleanup ide_config_drive_speed() a bit.

- s/drive1/dev1/ & s/drive0/dev0/ in ide_undecoded_slave().

v2:
Fix typo in drivers/ide/ppc/pmac.c. (From Stephen Rothwell)

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-10-10 22:39:19 +02:00
..
Makefile ide: add ide-4drives host driver (take 3) 2008-04-18 00:46:34 +02:00
ali14xx.c ali14xx: convert to use ide_timing_find_mode() 2008-07-16 20:33:37 +02:00
buddha.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
dtc2278.c ide: always auto-tune PIO in legacy VLB host drivers 2008-04-27 15:38:29 +02:00
falconide.c ide: add ide_host_free() helper (take 2) 2008-07-23 19:55:59 +02:00
gayle.c gayle: release resources on ide_host_add() failure 2008-07-24 22:53:34 +02:00
ht6560b.c ht6560b: remove old history 2008-07-24 22:53:35 +02:00
ide-4drives.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
ide-cs.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
ide_platform.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
macide.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
q40ide.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
qd65xx.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
qd65xx.h qd65xx: use IDE_HFLAG_SINGLE host flag 2008-04-26 17:36:42 +02:00
umc8672.c ide: always auto-tune PIO in legacy VLB host drivers 2008-04-27 15:38:29 +02:00