Give the drive a little bit more time to complete the STANDBY IMMED command.
authorkettenis <kettenis@openbsd.org>
Thu, 22 Jul 2010 21:40:46 +0000 (21:40 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 22 Jul 2010 21:40:46 +0000 (21:40 +0000)
commit6693db94ffe43ac143fe91f14260cf560f8b4e30
treec369110bccef4a433b20e1455bae5bf7306906a4
parent054d2303d7f041150d49d6a6cb9acc21615682d0
Give the drive a little bit more time to complete the STANDBY IMMED command.
The ATA spec seems to suggest it may take up to 30s.  This seems a little bit
long.  To quote Theo: "by that time some drives have probably parked their own
heads in boredom".  But it shouldn't hurt unless your drive is seriously
broken.  Makes some laptops suspend much better.

ok deraadt@
sys/dev/ata/wd.c