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.
>
[snip]
>
> 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
registers?
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 +
offset);
*addr = value;
+ wbflush();
}
/*
--- snip here ---
I'm not shure if this really addresses your problem, but it might help anyway.
---
Regards,
Harald
|