public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] SH/Dreamcast - improve detection of attached peripherals
@ 2008-02-11  0:25 Adrian McMenamin
  2008-02-12  8:24 ` Paul Mundt
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Adrian McMenamin @ 2008-02-11  0:25 UTC (permalink / raw)
  To: linux-sh

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>

-----

diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c
index fbca7f8..afb5362 100644
--- a/drivers/sh/maple/maple.c
+++ b/drivers/sh/maple/maple.c
@@ -658,7 +658,6 @@ static int __init maple_bus_init(void)
 		goto cleanup_device;
 
 	retval = driver_register(&maple_dummy_driver.drv);
-
 	if (retval)
 		goto cleanup_bus;
 
@@ -704,7 +703,7 @@ static int __init maple_bus_init(void)
 		mdev[i]->mq->length = 0;
 		maple_add_packet(mdev[i]->mq);
 		/* delay aids hardware detection */
-		udelay(20);
+		mdelay(5);
 		subdevice_map[i] = 0;
 	}
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-02-14 10:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-11  0:25 [PATCH] SH/Dreamcast - improve detection of attached peripherals Adrian McMenamin
2008-02-12  8:24 ` Paul Mundt
2008-02-12  9:36 ` [PATCH] SH/Dreamcast - improve detection of attached Kristoffer Ericson
2008-02-12  9:48 ` [PATCH] SH/Dreamcast - improve detection of attached peripherals Paul Mundt
2008-02-12 15:23 ` Mike Frysinger
2008-02-13 13:24 ` [PATCH] SH/Dreamcast - improve detection of attached Adrian McMenamin
2008-02-13 13:30 ` Adrian McMenamin
2008-02-14  9:34 ` Kristoffer Ericson
2008-02-14 10:14 ` [PATCH] SH/Dreamcast - improve detection of attached peripherals Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox