Manuals
/
Emerson
/
Computer Equipment
/
Computer Hardware
Emerson
MVME147
manual
Packet Return Status
Models:
MVME147
1
52
170
170
Download
170 pages
32.5 Kb
49
50
51
52
53
54
55
56
SCSI Bus Reset Packet
Command Table
Phase
Recover Buffer Data Packet
Features
TARGET Enable Custom Packet
Page 52
Image 52
3
PACKET RETURN STATUS
3-12
Page 51
Page 53
Page 52
Image 52
Page 51
Page 53
Contents
Features
GENERAL INFORMATION
Introduction
Modes of Operation
MVME147 SCSI Firmware Entry Points
The SCSI firmware initializes these vectors
Equipment Supported
CONTROLLE
CONTROLLE
Devices Supported Under Common Command Set
Related Documentation
MOTOROLA
DOCUMENT TITLE
PUBLICATION NUMBER
Manual Terminology
GENERAL INFORMATION
CUSTOM SCSI PACKETS
Initiator Role Custom Packet
CUSTOM SCSI PACKETS
Initiator Role Custom Packet
Page
PHASE
CODE
Initiator Role Custom Packet
+$00
+$68
status Note
ASYNC
the firmware status
xxxxxxxx
xxxxxxxx
Page
CUSTOM SCSI PACKETS
Initiator Role Custom Packet
CUSTOM SCSI PACKETS
TARGET Enable Custom Packet
TARGET Enable Custom Packet
NOTES
Status from SCSI
TARGET Enable Custom Packet
TARGET Sequence Custom Packet
TARGET Sequence Custom Packet
CUSTOM SCSI PACKETS
TARGET Sequence Custom Packet WORDS $04 and $06
CUSTOM SCSI PACKETS
TARGET Sequence Custom Packet
CUSTOM SCSI PACKETS
RETRY COUNT. Not used by the TARGET role firmware
CUSTOM SCSI PACKETS
Packet Return Status
PACKET RETURN STATUS
Control Flags
SCSI
Bit 3 FM Filemark Bit 4 COMMAND RETRY
1 = Retries were performed Bit 5 COMMAND RE
The command was retried retry count times
Packet Return Status Bit 2 EOM End of media
PACKET RETURN STATUS
Table 3-1.Packet Status Codes
Intermediate Return
Codes
MEANING
Final Return Codes
Table 3-2.Packet Status Codes cont’d
SCSI Bus Reset Packet section in Chapter
Table 3-3.Packet Status Codes cont’d
Request-Sense-Data Error-Class7 Codes
Controller-Dependent
SCSI Status Returned in Status Phase
Table 3-4.Packet Status Codes cont’d
Request-Sense-Data Error-Class0 through 6 Codes
Table 3-5.Packet Status Codes cont’d
Page
PACKET RETURN STATUS
SCSI FIRMWARE INTERRUPT STRUCTURE
SCSI Firmware Interrupt Structure
SCSI FIRMWARE INTERRUPT STRUCTURE
WRITING A DRIVER
SCSI_CMD
SCSI ACTV
SCSI_INT
Passing Commands to the SCSI Firmware
Building the Packet
Interface Rules for the SCSI Firmware
Figure 5-1.SCSI Disk Driver Interface to VERSAdos
Interface Rules for Multiple Callers
WRITING A DRIVER
Care must be taken not to modify the contents of
WRITING A DRIVER
Interface Rules for the SCSI Firmware FUNNEL
WRITING A DRIVER
Interface Rules for the SCSI Firmware
WRITING A DRIVER
MOVE.W 2A2,D0
THE CODE BELOW HANDLES FINAL RETURN CODES
Interface Rules for a Single Caller
WRITING A DRIVER
TARGET ROLE ROUTINES
MVME147 SCSI Firmware Background
SCSI Versus SASI Rules
Custom Sequence Packet
Command Table
Script
Enabling TARGET Role
Enabling TARGET Role
Servicing the TARGET Requests
Servicing the TARGET Requests
TARGET ROLE ROUTINES
Servicing the TARGET Requests
TARGET ROLE ROUTINES
Servicing the TARGET Requests
TARGET ROLE ROUTINES
SCSI PACKETS
Table 7-1.SCSI Functions
FUNCTION CODE
DESCRIPTION
Table
Read/Write Packet
SCSI Functions cont’d
DISK and TAPE
Controller logical unit
in SG table, if zero
Old Packet Supported for Compatibility
+$12
in SG table, if zero
DMA Scatter/Gather Table Entry
|function code 3 bits
1 = link to next entryFor example $5 is
DMA MEMORY ADDRESS 32-BIT
COMMAND
Attach/Detach Packet all devices
COMMAND
CONTROLLER
Attach/Detach Packet all devices
SCSI PACKETS
+$1E
FM encoding, single
Controller type refer
xxxxxxxx
attributes byte offset
+$20
Single track density
Drive type 0 =
3½, 5¼
Example for floppy
3½, 5¼,
250K B/S Data
+$04
Minimum read
QIC-24
if this is set to 0, the
+$00
Reserved
Interrupt level
+$00
+$9E $00
Format Packet
Assign Alternate Sector Packet SCSI
+$0E
Assign Alternate Sector Packet SCSI
DEFECT LIST TYPE
0 Note 3,
Head Bytes from Index MSW Note
SCSI Bus Reset Packet
Controller logical unit
SCSI Controller Reset Packet
Erase Packet
+$12
Rewind Packet
Device logical unit
Read Block Limits Packet
SCSI PACKETS
where n = number of blocks or filemarks to Space
Status from SCSI
Write Filemarks Packet
Write Filemarks Packet
The table below shows the write filemarks packet
Controller logical unit
Verify CRC Packet
The controller must be in general or read mode
Tape Mode Select/Sense Packet
Tape Mode Select/Sense Packet
Number of tracks on
Inquiry Packet
+$00
Reserved
+$1A
Load/Unload Packet
+$14
Recover Buffer Data Packet
+$0C
Request Sense Data Packet
Controller logical unit
Check Status Packet
Open Packet
Open Packet
SCSI PACKETS
BYTE OFFSET
COMMON COMMAND SET AND DISK OPERATION
BYTE
BYTE OFFSET
ENTRY NUMBER
COMMON COMMAND SET AND DISK OPERATION
Send mode select command
COMMON COMMAND SET AND DISK OPERATION
DEFECT LIST TYPE
DEFECT LIST
FORMAT BITS
Mode Select Header
Block Descriptor
COMMON COMMAND SET AND DISK OPERATION
BYTE OFFSET
BYTE OFFSET
Mode Select Header
Block Descriptor
BYTE OFFSET
BYTE OFFSET
BYTE OFFSET
NOTES
VALUE
Mode Select Command CDB
BYTE OFFSET
VALUE
COMMENTS
COMMON COMMAND SET AND DISK OPERATION
BYTE OFFSET
Mode Select Header
Block Descriptor
BYTE OFFSET
BYTE OFFSET
Page code
NOTES
ATTRIBUTE FLAGS
MEDIA
TYPE
ALL SECTORS
COMMON COMMAND SET AND DISK OPERATION
ATTRIBUTE FLAGS
MEDIA
TYPE
BYTE OFFSET
PIN 34 CONTROL
Pin 2 and Pin 34 Definition for High Density
Pin 2 and Pin 34 Definition for Low Density
PIN 2 CONTROL
PIN 34 CONTROL
A-22
Top
Page
Image
Contents