提交 b770d6b9 编写于 作者: A Adrian McMenamin 提交者: Paul Mundt

maple: improve detection of attached peripherals

Improve device detection for maple through longer delay

Experience suggests that a much longer delay in setting up the Maple bus
on the Dreamcast leads to better hardware detection.
Signed-off-by: NAdrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 43081e18
...@@ -659,7 +659,6 @@ static int __init maple_bus_init(void) ...@@ -659,7 +659,6 @@ static int __init maple_bus_init(void)
goto cleanup_device; goto cleanup_device;
retval = driver_register(&maple_dummy_driver.drv); retval = driver_register(&maple_dummy_driver.drv);
if (retval) if (retval)
goto cleanup_bus; goto cleanup_bus;
...@@ -705,7 +704,7 @@ static int __init maple_bus_init(void) ...@@ -705,7 +704,7 @@ static int __init maple_bus_init(void)
mdev[i]->mq->length = 0; mdev[i]->mq->length = 0;
maple_add_packet(mdev[i]->mq); maple_add_packet(mdev[i]->mq);
/* delay aids hardware detection */ /* delay aids hardware detection */
udelay(20); mdelay(5);
subdevice_map[i] = 0; subdevice_map[i] = 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册