]> git.baikalelectronics.ru Git - kernel.git/commit
libata: increase PMP register access timeout to 3s
authorTejun Heo <htejun@gmail.com>
Sun, 18 May 2008 16:15:10 +0000 (01:15 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:51:47 +0000 (17:51 -0400)
commitef25330ba6c006e9bd8734c5e0d933272438d8bf
tree0ebd09fbf4e7f9f5e81e479685930c180eaece76
parentb42b08411bdd0cdb6f436eb215b2ea0e0755dda6
libata: increase PMP register access timeout to 3s

This timeout was set low because previously PMP register access was
done via polling and register access timeouts could stack up.  This is
no longer the case.  One timeout will make all following accesses fail
immediately.

In rare cases both marvell and SIMG PMPs need almost a second.  Bump
it to 3s.

While at it, rename it to SATA_PMP_RW_TIMEOUT.  It's not specific to
SCR access.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-pmp.c
include/linux/libata.h