]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72f60b337dff0578cfa5fd26d26432f28a10aec2
tree846c569c1f4f16bf6c1fdef1071850ce48f2c920
parentaae7f5108b56360d11284957eac3a21ff06efd30
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