aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorAdrian McMenamin <adrian@newgolddream.dyndns.info>2008-02-10 19:25:02 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-02-14 00:22:11 -0500
commitb770d6b9b726932a74126311fa163ebf379631d8 (patch)
tree454095a14c0a503c303c2502929a90fca8029c30 /drivers/sh
parent43081e18336d67937092dd05ffe320d2fbffd012 (diff)
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: Adrian McMenamin <adrian@mcmen.demon.co.uk> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh')
-rw-r--r--drivers/sh/maple/maple.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c
index 616e2266e913..9cfcfd8dad5e 100644
--- a/drivers/sh/maple/maple.c
+++ b/drivers/sh/maple/maple.c
@@ -659,7 +659,6 @@ static int __init maple_bus_init(void)
659 goto cleanup_device; 659 goto cleanup_device;
660 660
661 retval = driver_register(&maple_dummy_driver.drv); 661 retval = driver_register(&maple_dummy_driver.drv);
662
663 if (retval) 662 if (retval)
664 goto cleanup_bus; 663 goto cleanup_bus;
665 664
@@ -705,7 +704,7 @@ static int __init maple_bus_init(void)
705 mdev[i]->mq->length = 0; 704 mdev[i]->mq->length = 0;
706 maple_add_packet(mdev[i]->mq); 705 maple_add_packet(mdev[i]->mq);
707 /* delay aids hardware detection */ 706 /* delay aids hardware detection */
708 udelay(20); 707 mdelay(5);
709 subdevice_map[i] = 0; 708 subdevice_map[i] = 0;
710 } 709 }
711 710