Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Oddness in ahcisata driver



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yorick Hardy wrote:
| This is not a correct fix, but would you be interested in looking here?
|
|   http://mail-index.netbsd.org/port-i386/2008/04/14/msg000371.html

This patch suggests retrying after a short delay.  I've tested it and
while it does work, it does not ALWAYS work -- one time in 15 it has
failed me if I rapidly reboot.

I suppose we might need a:

~  maxtries = 5;
~  while (err == CMD_ERR && maxtries-- > 0) {
~    delay(...);
~    err = wd->atabus->...
~  }



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFIB4QAl6Nz7kJWYWYRAifWAJsFgGYY085zoeEyFCebjmbnB8B0SACfQQS2
KM6WMw2MhF+DeXHBzVdd7uk=
=Di8F
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index