Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/conf Disable tagged queuing for the esp dri...



details:   https://anonhg.NetBSD.org/src/rev/933eac581580
branches:  trunk
changeset: 537705:933eac581580
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 04 21:11:27 2002 +0000

description:
Disable tagged queuing for the esp driver, with a comment describing
why and how to re-enable it. The driver is broken, and can currently
cause data corruption.

Since this file is included by the INSTALL config, enabling tagged queueing
could prevent first time installation (and creation of a custom kernel
with these settings changed)

diffstat:

 sys/arch/sparc64/conf/GENERIC32 |  14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 0e488ec1b477 -r 933eac581580 sys/arch/sparc64/conf/GENERIC32
--- a/sys/arch/sparc64/conf/GENERIC32   Fri Oct 04 20:34:10 2002 +0000
+++ b/sys/arch/sparc64/conf/GENERIC32   Fri Oct 04 21:11:27 2002 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: GENERIC32,v 1.48 2002/09/29 04:03:37 chs Exp $
+#      $NetBSD: GENERIC32,v 1.49 2002/10/04 21:11:27 martin Exp $
 
 include "arch/sparc64/conf/std.sparc64"
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.48 $"
+#ident                 "GENERIC-$Revision: 1.49 $"
 
 maxusers       64
 
@@ -266,10 +266,16 @@
 ## sun4u on-board SCSI, and FSBE/S SBus SCSI cards, an NCR53c94 or
 ## equivalent behind an LSI Logic DMA controller
 
+# XXX - the esp driver has problems with tagged queueing.
+# To avoid these, tagged queueing has been disabled for the first 8 targets
+# by setting those bits to 1 (starting at bit 16, see esp(4) for details).
+# If you want tagged queueing, and are sure it works for you, set the flags
+# value to 0. CAVEAT: using tagged queueing currently can cause data loss!
+
 dma*   at sbus? slot ? offset ?                # SBus
-esp*   at dma? flags 0x0000                    # SBus
+esp*   at dma? flags 0x00ff0000                # SBus
 
-esp*   at sbus? slot ? offset ?
+esp*   at sbus? slot ? offset ? flags 0x00ff0000
 isp*   at sbus? slot ? offset ?
 isp*   at pci? dev ? function ?        # Qlogic ISP [12]0x0 SCSI/FibreChannel
 siop*  at pci?                         # 53C875 "glm" compatible



Home | Main Index | Thread Index | Old Index