Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun3/conf Make "dma" a real device so it can attach...



details:   https://anonhg.NetBSD.org/src/rev/20b78b014e5b
branches:  trunk
changeset: 471689:20b78b014e5b
user:      gwr <gwr%NetBSD.org@localhost>
date:      Thu Apr 08 04:37:00 1999 +0000

description:
Make "dma" a real device so it can attach before esp.

diffstat:

 sys/arch/sun3/conf/GENERIC3X  |  13 +++++--------
 sys/arch/sun3/conf/files.sun3 |   6 ++++--
 2 files changed, 9 insertions(+), 10 deletions(-)

diffs (49 lines):

diff -r ae7f2890ac9a -r 20b78b014e5b sys/arch/sun3/conf/GENERIC3X
--- a/sys/arch/sun3/conf/GENERIC3X      Thu Apr 08 04:17:43 1999 +0000
+++ b/sys/arch/sun3/conf/GENERIC3X      Thu Apr 08 04:37:00 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC3X,v 1.23 1998/12/17 06:46:55 gwr Exp $
+# $NetBSD: GENERIC3X,v 1.24 1999/04/08 04:39:36 gwr Exp $
 
 # GENERIC Sun3X (3/80, 3/470)
 # Supports root on: ie0, le0, sd*, ...
@@ -120,15 +120,12 @@
 #
 
 # Emulex SCSI (3/80 only)
-# Note the flags on the esp entries below, that work around
-# deficiencies in the current driver:
+# Both `dma' and `esp' are needed.
+# The following flags may be set for the NCR53c94 based esp driver:
 #      bits 0-7:  disable disconnect/reselect for the corresponding target
-#      bits 8-15: disable synch negotiation for target [bit-8]
-#      Note: targets 4-7 have disconnect/reselect enabled on the premise
-#            that tape devices normally have one of these targets. Tape
-#            devices should be allowed to disconnect for the SCSI bus
-#            to operate acceptably.
+#      bits 8-15: disable synchronous negotiation for target [bit-8]
 #
+dma0 at obio0 addr 0x66001000 ipl 2
 esp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
 
 # Floppy drive
diff -r ae7f2890ac9a -r 20b78b014e5b sys/arch/sun3/conf/files.sun3
--- a/sys/arch/sun3/conf/files.sun3     Thu Apr 08 04:17:43 1999 +0000
+++ b/sys/arch/sun3/conf/files.sun3     Thu Apr 08 04:37:00 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.sun3,v 1.49 1998/12/15 19:37:11 itohy Exp $
+#      $NetBSD: files.sun3,v 1.50 1999/04/08 04:37:00 gwr Exp $
 
 #
 # sun3-specific configuration info
@@ -161,7 +161,9 @@
 device esp: scsi, ncr53c9x
 attach esp at obio
 file arch/sun3/dev/esp.c               esp
-file arch/sun3/dev/dma.c               esp
+device dma
+attach dma at obio
+file arch/sun3/dev/dma.c               dma | esp
 
 # Sun3/80 Floppy disk
 device fdc {}



Home | Main Index | Thread Index | Old Index