summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1995-07-07 12:30:39 +0000
committerse <se@FreeBSD.org>1995-07-07 12:30:39 +0000
commite8134f91a6c944496cb20892aa982090785dba10 (patch)
treee3c85df112f043465265cbdd71211fe24ba1450a /sys
parent2671254e234bfb8391b8636f9e093dea553a784a (diff)
downloadFreeBSD-src-e8134f91a6c944496cb20892aa982090785dba10.zip
FreeBSD-src-e8134f91a6c944496cb20892aa982090785dba10.tar.gz
Put back second case of CC handler in NCR script.
Diffstat (limited to 'sys')
-rw-r--r--sys/pci/ncr.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 6d5b43e..441bd3a 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.37 1995/05/30 08:13:07 rgrimes Exp $
+** $Id: ncr.c,v 1.38 1995/06/28 16:40:58 se Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -44,11 +44,12 @@
***************************************************************************
*/
-#define __NCR_C__ "pl21 95/03/21"
+#define __NCR_C__ "pl22 95/07/07"
#define NCR_VERSION (2)
#define MAX_UNITS (16)
+#define NCR_GETCC_WITHMSG
/*==========================================================
**
@@ -1222,7 +1223,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.37 1995/05/30 08:13:07 rgrimes Exp $\n";
+ "\n$Id: ncr.c,v 1.38 1995/06/28 16:40:58 se Exp $\n";
u_long ncr_version = NCR_VERSION
+ (u_long) sizeof (struct ncb)
@@ -3581,10 +3582,12 @@ static INT32 ncr_start (struct scsi_xfer * xp)
#else
tp->quirks = ncr_lookup ((char*) &tp->inqdata[0]);
#endif
+#ifndef NCR_GETCC_WITHMSG
if (tp->quirks) {
PRINT_ADDR(xp);
printf ("quirks=%x.\n", tp->quirks);
};
+#endif
};
/*---------------------------------------------------
OpenPOWER on IntegriCloud