Subject: Re: SCSI differences between 1.4.x & 1.5
To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
From: Allen Briggs <briggs@wasabisystems.com>
List: port-mac68k
Date: 12/16/2000 17:31:34
--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> >Have you tried 1.4Q with the A/UX interrupts disabled?
> Looks even worse.

I am attaching a patch to the 1.5.x version of sys/arch/mac68k/obio/esp.c.
I'm attempting to compile with this change now, but you're welcome to
try it.  This should make some difference, but I'm not sure how much...
Let me know if it does help.

-allen

-- 
 Allen Briggs                     briggs@wasabisystems.com
 http://www.wasabisystems.com/    Quality NetBSD CDs, Sales, Support, Service

--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

Index: esp.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/mac68k/obio/esp.c,v
retrieving revision 1.25
diff -u -r1.25 esp.c
--- esp.c	2000/06/05 07:59:52	1.25
+++ esp.c	2000/12/16 22:28:18
@@ -581,10 +581,7 @@
 esp_dafb_have_dreq(esc)
 	struct esp_softc *esc;
 {
-	u_int32_t r;
-
-	r = bus_space_read_4(esc->sc_tag, esc->sc_bsh, 0);
-	return (r & 0x200);
+	return (*(volatile u_int32_t *) (esc->sc_bsh->base) & 0x200);
 }
 
 static __inline__ int

--y0ulUmNC+osPPQO6--