summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/aic7xxx/aic7xxx_reg.h
diff options
context:
space:
mode:
authorshawn <shawn@cvs.openbsd.org>1996-06-27 21:15:56 +0000
committershawn <shawn@cvs.openbsd.org>1996-06-27 21:15:56 +0000
commit9b8458abe82eafc40a5af7d154cf1ae00f7201c8 (patch)
treee38ab70dc915fb740b5b3e09ae7833d407807560 /sys/dev/microcode/aic7xxx/aic7xxx_reg.h
parent1110f451a70507ded794d18ee2ba775b73688ccb (diff)
new 2940 driver merged from freebsd sources 960623
Diffstat (limited to 'sys/dev/microcode/aic7xxx/aic7xxx_reg.h')
-rw-r--r--sys/dev/microcode/aic7xxx/aic7xxx_reg.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/sys/dev/microcode/aic7xxx/aic7xxx_reg.h b/sys/dev/microcode/aic7xxx/aic7xxx_reg.h
index 9fee01d8527..e589393d9de 100644
--- a/sys/dev/microcode/aic7xxx/aic7xxx_reg.h
+++ b/sys/dev/microcode/aic7xxx/aic7xxx_reg.h
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: aic7xxx_reg.h,v 1.1 1996/05/05 12:42:39 deraadt Exp $
+ * $Id: aic7xxx_reg.h,v 1.2 1996/06/27 21:15:54 shawn Exp $
*/
/*
@@ -372,7 +372,6 @@
#define BUSTIME 0x085
#define BOFF 0xf0
#define BON 0x0f
-#define BOFF_60BCLKS 0xf0
/*
* Bus Speed (p. 3-45)
@@ -396,6 +395,7 @@
#define PAUSE 0x04
#define INTEN 0x02
#define CHIPRST 0x01
+#define CHIPRSTACK 0x01
/*
* Interrupt Status (p. 3-50)
@@ -434,6 +434,11 @@
* when we were expecting
* another msgin byte.
*/
+#define DATA_OVERRUN 0xe1 /*
+ * Target attempted to write
+ * beyond the bounds of its
+ * command.
+ */
#define BRKADRINT 0x08
#define SCSIINT 0x04
#define CMDCMPLT 0x02
@@ -561,7 +566,7 @@
#define SCB_NEXT 0x0ba
#define SCB_PREV 0x0bb
-#ifdef linux
+#ifdef __linux__
#define SG_SIZEOF 0x0c /* sizeof(struct scatterlist) */
#else
#define SG_SIZEOF 0x08 /* sizeof(struct ahc_dma) */
@@ -739,13 +744,18 @@
#define SAVED_LINKPTR 0x050
#define SAVED_SCBPTR 0x051
+#define ULTRA_ENB 0x052
+#define ULTRA_ENB_B 0x053
#define SCSICONF 0x05a
+#define RESET_SCSI 0x40
+
#define HOSTCONF 0x05d
#define HA_274_BIOSCTRL 0x05f
#define BIOSMODE 0x30
#define BIOSDISABLED 0x30
+#define CHANNEL_B_PRIMARY 0x08
/* Message codes */
#define MSG_EXTENDED 0x01