summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1994-11-28 23:18:46 +0000
committerse <se@FreeBSD.org>1994-11-28 23:18:46 +0000
commit83418166e23ab8b859aed1340636fff7bf92031a (patch)
tree251f40ad2ac509110975d7c6baced1dc3853880d /sys
parent2ff2bad028a1b87309c4aedcda85e24633f2c609 (diff)
downloadFreeBSD-src-83418166e23ab8b859aed1340636fff7bf92031a.zip
FreeBSD-src-83418166e23ab8b859aed1340636fff7bf92031a.tar.gz
Really deactivated the code that puts scsi stats into dk0.
This should have been disabled for some time, but I had screwed up ... This made spurious values appear for fd0 in systat, when there was NCR SCSI activity.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/pci/ncr.c8
-rw-r--r--sys/pci/ncr.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/i386/pci/ncr.c b/sys/i386/pci/ncr.c
index 80c8a3d..94df486 100644
--- a/sys/i386/pci/ncr.c
+++ b/sys/i386/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.11 1994/10/27 20:12:46 se Exp $
+** $Id: ncr.c,v 1.12 1994/10/30 00:30:27 ats Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -144,7 +144,7 @@
** Write disk status information to dkstat ?
*/
-#define DK 0
+/* #define DK */
/*==========================================================
**
@@ -1222,7 +1222,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.11 1994/10/27 20:12:46 se Exp $\n";
+ "\n$Id: ncr.c,v 1.12 1994/10/30 00:30:27 ats Exp $\n";
u_long ncr_version = NCR_VERSION
+ (u_long) sizeof (struct ncb)
@@ -3327,7 +3327,7 @@ static void ncr_attach (pcici_t config_id, int unit)
ncr_name (np));
DELAY (1000000);
#endif
- printf ("%s scanning for targets 0..%d ($Revision: 1.11 $)\n",
+ printf ("%s scanning for targets 0..%d ($Revision: 1.12 $)\n",
ncr_name (np), MAX_TARGET-1);
/*
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 80c8a3d..94df486 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.11 1994/10/27 20:12:46 se Exp $
+** $Id: ncr.c,v 1.12 1994/10/30 00:30:27 ats Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -144,7 +144,7 @@
** Write disk status information to dkstat ?
*/
-#define DK 0
+/* #define DK */
/*==========================================================
**
@@ -1222,7 +1222,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.11 1994/10/27 20:12:46 se Exp $\n";
+ "\n$Id: ncr.c,v 1.12 1994/10/30 00:30:27 ats Exp $\n";
u_long ncr_version = NCR_VERSION
+ (u_long) sizeof (struct ncb)
@@ -3327,7 +3327,7 @@ static void ncr_attach (pcici_t config_id, int unit)
ncr_name (np));
DELAY (1000000);
#endif
- printf ("%s scanning for targets 0..%d ($Revision: 1.11 $)\n",
+ printf ("%s scanning for targets 0..%d ($Revision: 1.12 $)\n",
ncr_name (np), MAX_TARGET-1);
/*
OpenPOWER on IntegriCloud