提交 c5dfd0a5 编写于 作者: K Kristian Høgsberg 提交者: Stefan Richter

firewire: Increase the number of config rom retries and the retry delay.

Some devices have a really long power-on cycle, and we fail to
successfully probe these if they're plugged in and then turned on.

There's really no down-side to bumping the number of retries and the
retry delay, and most devices will get picked up within the first couple
of retries anyway.
Signed-off-by: NKristian Høgsberg <krh@redhat.com>
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 93e4fd45
...@@ -592,8 +592,8 @@ static struct device_type fw_device_type = { ...@@ -592,8 +592,8 @@ static struct device_type fw_device_type = {
* aggressive than that, since it scales pretty well; if 10 devices * aggressive than that, since it scales pretty well; if 10 devices
* are plugged in, they're all getting read within one second. */ * are plugged in, they're all getting read within one second. */
#define MAX_RETRIES 5 #define MAX_RETRIES 10
#define RETRY_DELAY (2 * HZ) #define RETRY_DELAY (3 * HZ)
#define INITIAL_DELAY (HZ / 2) #define INITIAL_DELAY (HZ / 2)
static void fw_device_init(struct work_struct *work) static void fw_device_init(struct work_struct *work)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册