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
..
2007-10-17 08:42:52 -07:00
2008-01-24 22:50:12 -08:00
2007-10-16 09:43:09 -07:00
2008-01-25 22:17:06 +01:00
2007-12-31 23:11:11 +00:00
2007-11-05 15:12:31 -08:00
2007-12-12 20:01:00 +01:00
2007-12-23 12:54:37 -08:00
2008-01-24 20:40:44 -08:00
2008-01-24 20:40:45 -08:00
2008-01-24 20:40:45 -08:00
2007-10-17 08:42:57 -07:00
2008-01-24 20:40:43 -08:00
2007-10-23 15:49:54 +10:00