From: "David S. Miller" <davem@davemloft.net>
To: sparclinux@vger.kernel.org
Subject: Re: Sun4D SMP now works OK, serial console broken - was Re: More
Date: Thu, 09 Sep 2004 17:38:58 +0000 [thread overview]
Message-ID: <20040909103858.15dcf4ed.davem@davemloft.net> (raw)
In-Reply-To: <200409091646.21205.crn@netunix.com>
On Thu, 9 Sep 2004 10:19:35 -0700
William Lee Irwin III <wli@holomorphy.com> wrote:
> On Thu, 9 Sep 2004, C.Newport wrote:
> >> My SS1000E seems to be stable with 2.4.27 after fitting a frame
> >> buffer and keyboard. It rebuilds a kernel OK in SMP mode.
> >> Serial console is still broken, there seems to be a problem
> >> with the sunzilog driver.
> >> What other Sun machines use sunzilog.c as the serial console ?.
> >> Is this problem really a sun4d issue or is it generic to sunzilog ?
>
> On Thu, Sep 09, 2004 at 12:55:19PM -0400, Chris Ricker wrote:
> > I think early Ultras (Ultra2, for example) are Sun Zilog as well. I've not
> > tried serial console on mine in a while though....
>
> Yes, SunZilog appears to be stable on all my UltraSPARC machines. The
> bug is likely something specific to older revisions typically used in
> sun4d boxen or some such.
Like the UltraSPARC Enterprise bigger systems using the
SunZILOG's for serial, the XBUS/XDBUS on sun4d can
defer the completion of writes to I/O registers.
Thus you should play around with enabling the
__sparc_v9__ version of the ZS_WSYNC() macro
in drivers/sbus/char/zs.c for all Sparc builds.
Something like this:
=== drivers/sbus/char/zs.c 1.11 vs edited ==--- 1.11/drivers/sbus/char/zs.c 2002-03-30 07:45:50 -08:00
+++ edited/drivers/sbus/char/zs.c 2004-09-09 10:20:18 -07:00
@@ -71,13 +71,13 @@
#ifndef __sparc_v9__
#define ZSDELAY() udelay(5)
#define ZSDELAY_LONG() udelay(20)
-#define ZS_WSYNC(channel) do { } while(0)
#else
#define ZSDELAY()
#define ZSDELAY_LONG()
+#endif
+
#define ZS_WSYNC(__channel) \
sbus_readb(&((__channel)->control))
-#endif
struct sun_zslayout **zs_chips;
struct sun_zschannel **zs_channels;
next prev parent reply other threads:[~2004-09-09 17:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-09 15:46 Sun4D SMP now works OK, serial console broken - was Re: More Sun4d tests C.Newport
2004-09-09 16:36 ` William Lee Irwin III
2004-09-09 16:55 ` Sun4D SMP now works OK, serial console broken - was Re: More Chris Ricker
2004-09-09 17:19 ` Sun4D SMP now works OK, serial console broken - was Re: More Sun4d tests William Lee Irwin III
2004-09-09 17:38 ` David S. Miller [this message]
2004-09-09 19:57 ` C.Newport
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=20040909103858.15dcf4ed.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=sparclinux@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.