Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/arch/sparc64/dev Pull up revision 1.8 (requested by...



details:   https://anonhg.NetBSD.org/src/rev/e507f0891f9b
branches:  netbsd-1-6
changeset: 528040:e507f0891f9b
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 21 06:26:27 2002 +0000

description:
Pull up revision 1.8 (requested by eeh in ticket #337):
Overhaul streaming buffer handling:
        sysio streaming buffer flushes write a single 8-byte aligned 8-byte
        value.
        psycho streaming buffer flushes write a 64-byte aligned 64-byte block.
So separate out the streaming buffers into their own structure and pass those
in to all iommu operations.  This also means we only flush the correct
streaming buffer for psycho rather than needing to flush both just in case.
[Gets E220R working]

diffstat:

 sys/arch/sparc64/dev/psychovar.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 62dee6e6d20f -r e507f0891f9b sys/arch/sparc64/dev/psychovar.h
--- a/sys/arch/sparc64/dev/psychovar.h  Fri Jun 21 06:26:12 2002 +0000
+++ b/sys/arch/sparc64/dev/psychovar.h  Fri Jun 21 06:26:27 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psychovar.h,v 1.7 2002/03/20 18:54:48 eeh Exp $        */
+/*     $NetBSD: psychovar.h,v 1.7.6.1 2002/06/21 06:26:27 lukem Exp $  */
 
 /*
  * Copyright (c) 1999, 2000 Matthew R. Green
@@ -63,6 +63,9 @@
 
        /* and pointers into the psycho regs for our bits */
        bus_space_handle_t              pp_pcictl;
+       struct strbuf_ctl               pp_sb;
+       /* area we can use for flushing our streaming buffer */
+       char                            pp_flush[0x80];
 };
 
 /*



Home | Main Index | Thread Index | Old Index