]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/ide/ide-disk.c
ide: replace IDE_TFLAG_* flags by IDE_VALID_*
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 8 Apr 2009 12:13:01 +0000 (14:13 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 8 Apr 2009 12:13:01 +0000 (14:13 +0200)
commit60f85019c6c8c1aebf3485a313e0da094bc95d07
tree5cbb0e1a733b59887308a50ce083613c4e7c0ede
parent674f0ea111bc9bff1b4e4841d7da38933c5e3b59
ide: replace IDE_TFLAG_* flags by IDE_VALID_*

Replace IDE_TFLAG_{IN|OUT}_* flags meaning to the taskfile register validity on
input/output by the IDE_VALID_* flags and introduce 4 symmetric 8-bit register
validity indicator subfields, 'valid.{input/output}.{tf|hob}', into the 'struct
ide_cmd' instead of using the 'tf_flags' field for that purpose (this field can
then be turned from 32-bit into 8-bit one).

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
18 files changed:
drivers/ide/ide-acpi.c
drivers/ide/ide-atapi.c
drivers/ide/ide-disk.c
drivers/ide/ide-disk_proc.c
drivers/ide/ide-io-std.c
drivers/ide/ide-io.c
drivers/ide/ide-ioctls.c
drivers/ide/ide-iops.c
drivers/ide/ide-lib.c
drivers/ide/ide-park.c
drivers/ide/ide-pm.c
drivers/ide/ide-probe.c
drivers/ide/ide-proc.c
drivers/ide/ide-taskfile.c
drivers/ide/ns87415.c
drivers/ide/scc_pata.c
drivers/ide/tx4939ide.c
include/linux/ide.h