summaryrefslogtreecommitdiffstats
path: root/sys/pci/ncrreg.h
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1996-10-11 19:50:12 +0000
committerse <se@FreeBSD.org>1996-10-11 19:50:12 +0000
commit1e0af5014366f9bf43e608bf93a9fccfb0032d3e (patch)
tree42591b712c5e0aa930229bf92e04fa7fc0fa281e /sys/pci/ncrreg.h
parent430faa57f96285ccf81cdc8bf084551e42ae6f97 (diff)
downloadFreeBSD-src-1e0af5014366f9bf43e608bf93a9fccfb0032d3e.zip
FreeBSD-src-1e0af5014366f9bf43e608bf93a9fccfb0032d3e.tar.gz
Improve support of SCSI cards based on the 53c860 and 53c875.
Still no support for Ultra-SCSI and other new features, but the code should now correctly initialize the clock pre-scaler (based on freqency measurement results, if necessary). Fix support of 16 targets for WIDE SCSI. Disable bus reset in case no progress is made for too long ("ncr dead" message), which did not work too well with scanners and other slow devices.
Diffstat (limited to 'sys/pci/ncrreg.h')
-rw-r--r--sys/pci/ncrreg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/pci/ncrreg.h b/sys/pci/ncrreg.h
index 1a8b9f1..2f88c42 100644
--- a/sys/pci/ncrreg.h
+++ b/sys/pci/ncrreg.h
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncrreg.h,v 1.2 1995/02/02 13:12:16 davidg Exp $
+** $Id: ncrreg.h,v 1.3 1995/03/21 22:48:36 se Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -198,6 +198,8 @@ struct ncr_reg {
/*4c*/ u_char nc_stest0;
/*4d*/ u_char nc_stest1;
+ #define DBLEN 0x08 /* clock doubler running */
+ #define DBLSEL 0x04 /* clock doubler selected */
/*4e*/ u_char nc_stest2;
#define ROF 0x40 /* reset scsi offset (after gross error!) */
OpenPOWER on IntegriCloud