[Top] [All Lists]

RE: More DZ Serial driver

Subject: RE: More DZ Serial driver
From: Harald Koerfgen <>
Date: Sat, 31 Oct 1998 15:58:18 +0100 (MET)
In-reply-to: <>
Organization: none
Reply-to: "Harald Koerfgen" <>
On 30-Oct-98 Thomas Riemer wrote:
> I've worked through all the details of getting characters to 
> be received on the DZ serial driver...
> I've also worked through the details of getting characters to 
> transmit on the DZ serial driver line...
> But I can't get them both working at the same time. 
> None of these hypotheses really make much sense standing alone - and
> don't really explain what I'm seeing.  Having pounded my head hard on 
> this for about 2 weeks - I'm in need of some suggestions on how
> to approach the problem. 

Are you shure you are "flushing" the writeback buffer after writing to the DZ

If not, you may want to try the following patchlet.

--- snip here ---

--- dz.c.orig   Sat Oct 31 15:21:05 1998
+++ dz.c        Sat Oct 31 15:21:55 1998
@@ -44,6 +44,7 @@
 #include <asm/uaccess.h>
 #include <asm/irq.h>
+#include <asm/wbflush.h>
 #include <asm/dec/machtype.h>
 #include <asm/dec/kn01.h>
 #include <asm/dec/kn02.h>
@@ -77,6 +78,7 @@
   volatile unsigned short *addr = (volatile unsigned short *)(info->port + 
   *addr = value;
+  wbflush();

--- snip here ---

I'm not shure if this really addresses your problem, but it might help anyway.


<Prev in Thread] Current Thread [Next in Thread>