tx4938ide: Check minimum cycle time and SHWT range (v2)
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sun, 2 Nov 2008 20:40:09 +0000 (21:40 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 2 Nov 2008 20:40:09 +0000 (21:40 +0100)
commit630a8b2500c8d04e87e597c4afa5e1fafff04591
tree846c569c1f4f16bf6c1fdef1071850ce48f2c920
parentccd32e221c3e3797ac56305c554ad8b07c13c815
tx4938ide: Check minimum cycle time and SHWT range (v2)

SHWT value is used as address valid to -CSx assertion and -CSx to -DIOx
assertion setup time, and contrarywise, -DIOx to -CSx release and -CSx
release to address invalid hold time, so it actualy applies 4 times and
so constitutes -DIOx recovery time.  Check requirement of the recovery
time and cycle time.  Also check SHWT maximum value.

Suggested-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: ralf@linux-mips.org
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/tx4938ide.c