linux/drivers/ide
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
..
arm ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
h8300 ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
legacy ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
mips IDE: Fix platform device registration in Swarm IDE driver (v2) 2008-10-05 18:23:28 +02:00
pci ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ppc ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-acpi.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-atapi.c ide: remove unused PC_FLAG_DRQ_INTERRUPT 2008-07-23 19:56:01 +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 block: replace sizeof(rq->cmd) with BLK_MAX_CDB 2008-04-29 14:48:55 +02:00
ide-cd.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +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: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-dma.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-floppy.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-generic.c ide-generic: remove ide_default_{io_base,irq}() inlines (take 3) 2008-07-24 22:53:31 +02:00
ide-io.c ide: remove superfluous check from ide_disk_special() 2008-10-10 22:39:18 +02:00
ide-iops.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-lib.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +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: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-proc.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-tape.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-taskfile.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-timings.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
Kconfig IDE: Fix platform device registration in Swarm IDE driver (v2) 2008-10-05 18:23:28 +02:00
Makefile ide: remove stale comments from drivers/ide/Makefile 2008-07-24 22:53:36 +02:00
setup-pci.c ide: drop 'name' parameter from ->init_chipset method 2008-07-24 22:53:33 +02:00