2624
|
1 IFNE SCSI.D-1
|
|
2 SCSI.D SET 1
|
|
3
|
2590
|
4 ********************************************************************
|
|
5 * scsi.d - SCSI definitions
|
|
6 *
|
|
7 * $Id$
|
|
8 *
|
|
9 * (C) 2004 Boisy G. Pitre - Licensed to Cloud-9
|
|
10 *
|
|
11 * Edt/Rev YYYY/MM/DD Modified by
|
|
12 * Comment
|
|
13 * ------------------------------------------------------------------
|
|
14 * 2005/12/11 Boisy G. Pitre
|
|
15 * Moved SCSI base addresses and I/O offsets to here.
|
|
16
|
|
17
|
|
18 *
|
|
19 * SCSI Packet Command Bytes
|
|
20 *
|
|
21 S$REZERO EQU $01
|
|
22 S$REQSEN EQU $03
|
|
23 S$FORMAT EQU $04
|
|
24 S$READ EQU $08
|
|
25 S$WRITE EQU $0A
|
|
26 S$SEEK EQU $0B
|
|
27 S$MODSEL EQU $15
|
|
28 S$UNIT EQU $1B
|
|
29 S$RCAP EQU $25
|
|
30 S$READEX EQU $28
|
|
31 S$WRITEX EQU $2A
|
|
32
|
|
33 *
|
|
34 * SCSI Status Codes
|
|
35 *
|
|
36 X$ERROR EQU $02
|
|
37 X$BUSY EQU $08
|
|
38
|
|
39 **** Cloud-9 TC^3 Controller Definitions
|
|
40 IFNE TC3+SB
|
|
41 SCSIDATA EQU 0
|
|
42 SCSISTAT EQU 1
|
|
43 SCSISEL EQU 1
|
|
44 SCSIRST EQU 1 INVALID, but not used
|
|
45
|
|
46 REQ EQU $01
|
|
47 BUSY EQU $02
|
|
48 MSG EQU $04
|
|
49 CMD EQU $08
|
|
50 INOUT EQU $10
|
|
51
|
|
52 IFNE SB
|
|
53 SDAddr SET $FF1E
|
|
54 ELSE
|
|
55 SDAddr SET $FF74
|
|
56 ENDC
|
|
57
|
|
58 ENDC
|
|
59
|
|
60 **** Ken-Ton/LR-Tech Controller Definitions
|
|
61 IFNE KTLR
|
|
62 SCSIDATA EQU 0
|
|
63 SCSISTAT EQU 1
|
|
64 SCSISEL EQU 2
|
|
65 SCSIRST EQU 3
|
|
66
|
|
67 REQ EQU $01
|
|
68 BUSY EQU $02
|
|
69 MSG EQU $04
|
|
70 CMD EQU $08
|
|
71 INOUT EQU $10
|
|
72 ACK EQU $20
|
|
73 SEL EQU $40
|
|
74 RST EQU $80
|
|
75
|
|
76 SDAddr SET $FF74
|
|
77 ENDC
|
|
78
|
|
79 **** Disto 4-N-1/HD-II Controller Definitions
|
|
80 IFNE D4N1+HDII
|
|
81 SDMPI SET $02
|
|
82
|
|
83 * Disto SCSI Controller Definitions
|
|
84 SCSIDATA EQU 0
|
|
85 SCSISTAT EQU -2
|
|
86 SCSISEL EQU -1
|
|
87 SCSIRST EQU -2
|
|
88
|
|
89 SEL EQU $00
|
|
90 BUSY EQU $01
|
|
91 ACK EQU $02
|
|
92 MSG EQU $04
|
|
93 INOUT EQU $20
|
|
94 CMD EQU $40
|
|
95 REQ EQU $80
|
|
96
|
|
97 IFNE D4N1
|
|
98 SDAddr SET $FF5B
|
|
99 ELSE
|
|
100 SDAddr SET $FF53
|
|
101 ENDC
|
|
102 ENDC
|
2624
|
103
|
|
104 ENDC
|