linux/drivers/ide
Bartlomiej Zolnierkiewicz 650d841d9e ide: add struct ide_taskfile (take 2)
* Don't set write-only ide_task_t.hobRegister[6] and ide_task_t.hobRegister[7]
  in idedisk_set_max_address_ext().

* Add struct ide_taskfile and use it in ide_task_t instead of tfRegister[]
  and hobRegister[].

* Remove no longer needed IDE_CONTROL_OFFSET_HOB define.

* Add #ifndef/#endif __KERNEL__ around definitions of {task,hob}_struct_t.

While at it:

* Use ATA_LBA define for LBA bit (0x40) as suggested by Tejun Heo.

v2:
* Add missing newlines. (Noticed by Sergei)

* Use ~ATA_LBA instead of 0xBF. (Noticed by Sergei)

* Use unnamed unions for error/feature and status/command.
  (Suggested by Sergei).

There should be no functionality changes caused by this patch.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-01-25 22:17:06 +01:00
..
arm ide/arm/icside: fallout from commit 86f3a492bb 2007-10-27 22:18:11 -07:00
cris ide-cris: don't override ide_register_hw() result 2007-11-27 21:35:55 +01:00
h8300 icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
legacy ali14xx: constify __initdata 2007-11-27 21:35:57 +01:00
mips [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
pci ide: remove ->dma_master field from ide_hwif_t (take 5) 2008-01-25 22:17:05 +01:00
ppc drivers/ide: Add missing "space" 2007-11-27 21:35:55 +01:00
ide-acpi.c ide: add struct ide_taskfile (take 2) 2008-01-25 22:17:06 +01:00
ide-cd.c ide-cd: fix 'ireason' reporting in cdrom_pc_intr() 2007-12-24 15:23:44 +01:00
ide-cd.h ide-cd: fix SAMSUNG CD-ROM SCR-3231 quirk 2007-12-24 15:23:43 +01:00
ide-disk.c ide: add struct ide_taskfile (take 2) 2008-01-25 22:17:06 +01:00
ide-dma.c ide: remove ->dma_master field from ide_hwif_t (take 5) 2008-01-25 22:17:05 +01:00
ide-floppy.c Fixup rq_for_each_segment() indentation 2007-10-10 09:25:56 +02:00
ide-generic.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-io.c ide: add struct ide_taskfile (take 2) 2008-01-25 22:17:06 +01:00
ide-iops.c ide: add struct ide_taskfile (take 2) 2008-01-25 22:17:06 +01:00
ide-lib.c ide: add struct ide_taskfile (take 2) 2008-01-25 22:17:06 +01:00
ide-pnp.c icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
ide-probe.c Driver core: convert block from raw kobjects to core devices 2008-01-24 20:40:36 -08:00
ide-proc.c ide: add ide_device_add() 2007-10-20 00:32:31 +02:00
ide-tape.c IDE: Convert from class_device to device for ide-tape 2008-01-24 20:40:05 -08:00
ide-taskfile.c ide: add struct ide_taskfile (take 2) 2008-01-25 22:17:06 +01:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: remove ->dma_master field from ide_hwif_t (take 5) 2008-01-25 22:17:05 +01:00
Kconfig ide: deprecate CONFIG_BLK_DEV_OFFBOARD 2007-12-12 23:31:57 +01:00
Makefile ide: add CONFIG_IDE_H8300 config option 2007-11-27 21:35:54 +01:00
setup-pci.c ide: coding style fixes for drivers/ide/setup-pci.c 2007-12-12 23:31:57 +01:00