commit | 22605f96810d073eb74051d0295b6577d6a6a563 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | Tue Apr 19 15:04:20 2011 -0400 |
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | Fri Nov 04 15:53:02 2011 -0400 |
tree | f5af6aebe31f92cd6fe6bc343a931984ef7aa0f2 | |
parent | aba2080f3f1639f9202f1a52993669844abcfb80 [diff] |
NVMe: Time out initialisation after a few seconds THe device reports (in its capability register) how long it will take to initialise. If that time elapses before the ready bit becomes set, conclude the device is broken and refuse to initialise it. Log a nice error message so the user knows why we did nothing. Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>