From: Adrian McMenamin <adrian@newgolddream.dyndns.info>
To: linux-sh@vger.kernel.org
Subject: [PATCH] SH/Dreamcast - improve detection of attached peripherals
Date: Mon, 11 Feb 2008 00:25:02 +0000 [thread overview]
Message-ID: <1202689502.6237.23.camel@localhost.localdomain> (raw)
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;
}
next reply other threads:[~2008-02-11 0:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-11 0:25 Adrian McMenamin [this message]
2008-02-12 8:24 ` [PATCH] SH/Dreamcast - improve detection of attached peripherals 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1202689502.6237.23.camel@localhost.localdomain \
--to=adrian@newgolddream.dyndns.info \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.