Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/dev/ic Pull up revision 1.6 (requested by mhitch):



details:   https://anonhg.NetBSD.org/src/rev/45f129f1625b
branches:  netbsd-1-4
changeset: 469837:45f129f1625b
user:      he <he%NetBSD.org@localhost>
date:      Sat Dec 04 19:34:50 1999 +0000

description:
Pull up revision 1.6 (requested by mhitch):
  Fix the problems in detecting the clock speed on the TCDS Dual
  SCSI Option cards, and correctly configure the Fast SCSI interfaces.
  This allows installation on the 3000/500 -> 3000/900 Alphas which
  have the Fast SCSI interface on the on-board SCSI adapters.

diffstat:

 sys/dev/ic/ncr53c9xreg.h |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 698f661d2a54 -r 45f129f1625b sys/dev/ic/ncr53c9xreg.h
--- a/sys/dev/ic/ncr53c9xreg.h  Sat Dec 04 19:34:13 1999 +0000
+++ b/sys/dev/ic/ncr53c9xreg.h  Sat Dec 04 19:34:50 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ncr53c9xreg.h,v 1.5 1999/01/06 19:19:38 thorpej Exp $  */
+/*     $NetBSD: ncr53c9xreg.h,v 1.5.2.1 1999/12/04 19:34:50 he Exp $   */
 
 /*
  * Copyright (c) 1994 Peter Galbavy.  All rights reserved.
@@ -166,6 +166,17 @@
 #define         NCRESPCFG3_ADMA        0x02    /*      Alternate DMA Mode      */
 #define         NCRESPCFG3_T8M         0x01    /*      Threshold 8 Mode        */
 
+/* Config #3 also different on NCR53CF9x/FAS216 */
+#define        NCR_F9XCFG3             0x0c    /* RW - Configuration #3        */
+#define  NCRF9XCFG3_IDM                0x80    /*      ID Message Res Check    */
+#define  NCRF9XCFG3_QTE                0x40    /*      Queue Tag Enable        */
+#define  NCRF9XCFG3_CDB                0x20    /*      CDB 10-bytes OK         */
+#define  NCRF9XCFG3_FSCSI      0x10    /*      Fast SCSI               */
+#define  NCRF9XCFG3_FCLK       0x08    /*      Fast Clock (>25Mhz)     */
+#define  NCRF9XCFG3_SRESB      0x04    /*      Save Residual Byte      */
+#define  NCRF9XCFG3_ADMA       0x02    /*      Alternate DMA Mode      */
+#define  NCRF9XCFG3_T8M                0x01    /*      Threshold 8 Mode        */
+
 /* Config #4 only on ESP406/FAS408 */
 #define        NCR_CFG4        0x0d            /* RW - Configuration #4        */
 #define         NCRCFG4_CRS1   0x80            /*      Select register set #1  */



Home | Main Index | Thread Index | Old Index