Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
HIGH SPEED LINKING MODULE
Document Type and Number:
WIPO Patent Application WO/2000/036780
Kind Code:
A2
Abstract:
A device (40) for converting at least four parallel data streams on respective input data (P0-P3) into one serial data strea m on a fiber optic data line (18). The device (40) includes a first multiplexer (42) for multiplexing at least two data streams i nto a first intermediate output stream and a second multiplexer (44) for multiplexing other parallel data streams into a second output. A serializing transmitter (52) is coupled to the multiplexers (42, 44). A signal synchronizes the serializing of the first and second output and tags output data as corresponding to data from each of the respective input data lines.

Inventors:
PAUL HENRY (US)
TORNETTA ANTHONY G (US)
Application Number:
PCT/US1999/027196
Publication Date:
June 22, 2000
Filing Date:
November 16, 1999
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
INRANGE TECH CORP (US)
PAUL HENRY (US)
TORNETTA ANTHONY G (US)
International Classes:
G06F3/00; H03M9/00; H04J3/04; H04J3/06; H04J3/14; H04J14/00; H04L; (IPC1-7): H04L/
Foreign References:
US3872257A1975-03-18
US4646286A1987-02-24
US5414851A1995-05-09
Other References:
See also references of EP 1131907A2
Attorney, Agent or Firm:
Meagher, Timothy J. (Brook Smith & Reynold, P.C. Two Militia Drive Lexington MA, US)
Download PDF:
Claims:
What is Claimed:
1. A device for converting at least four parallel data streams on respective input data lines into one serial data stream on a fiber optic data line, the device comprising: a first multiplexer for multiplexing at least two of the parallel data streams into a first intermediate output stream; a second multiplexer for multiplexing at least two other of the parallel data streams into a second intermediate output stream; a serializing transmitter coupled to the first and second multiplexers for serializing the first and second intermediate output streams into the serial data stream, and a signal for synchronizing the serializing of the first and second intermediate output streams and tagging output data in the serial data stream as corresponding with data from each of the respective input data lines.
2. The device of claim 1 including an optical transmitter for transmitting the serial data stream onto the fiber optic data line.
3. The device of claim 1 wherein the data from each of the respective input data lines is 9 bits wide and an output frame in the serial data stream is 24 bits long.
4. The device of claim 3 wherein the signal includes a cycle having a first phase and a second phase, the first phase for tagging the output frame to the data from two of the respective input data lines and the second phase for tagging the output frame to the data from another two of the respective input data lines.
5. The device of claim 3 wherein a parity generator is coupled between the first multiplexer and the serializing transmitter for adding a parity bit to one of the respective input data lines.
6. A device for converting a serial input data stream on a fiber optic data line to at least four parallel data streams on respective output data lines, the device comprising: a receiver for deserializing the input data stream into first and second intermediate parallel data streams, a first demultiplexer for demultiplexing the first intermediate parallel data stream into two parallel data streams on two respective output data lines; a second demultiplexer for demultiplexing the second intermediate parallel data stream into two other parallel data streams on two other output data lines; and a signal for synchronizing the deserializing of the first and second intermediate output streams and tagging data in the serial input data stream as corresponding to data in each of the respective output data lines.
7. The device of claim 6 wherein the receiver includes an optical receiver for receiving the serial input data stream from the fiber optic data line.
8. The device of claim 6 wherein the data from each of the respective output data lines is 9 bits wide and an input frame in the serial input data stream is 24 bits long.
9. The device of claim 8 wherein the signal includes a cycle having a first phase and a second phase, the first phase for tagging the data from two of the respective output data lines to the input frame and the second phase for tagging the data from two of the other respective output data lines to the input frame.
10. In channeltochannel communications among devices, wherein each device has a plurality of ports for connecting to communication links between the devices, a method for communicating between two devices over a single link comprising the steps of: (a) converting a plurality of data streams from respective ports of a first of the two devices into one serial data stream, including the steps of: (i) multiplexing at least two of the plurality of data streams into a first intermediate output stream; (ii) multiplexing at least two other of the plurality of data streams into a second intermediate output stream; (iii) serializing the first and second intermediate output streams into the serial data stream, (iv) synchronizing the serialization of the first and second intermediate output streams, (v) tagging output data in the serial data stream as corresponding to data from each of the respective ports of the first device, and (vi) transmitting the serial data stream on the single link to a second of the two devices; (b) converting the serial data stream in the second device to at least four input data streams, and (c) sending each of the input data streams to a port of the second device.
11. The method of claim 10 wherein step (b) includes the steps of: (i) deserializing the serial data stream into first and second intermediate parallel data streams, (ii) demultiplexing the first intermediate parallel data stream into two parallel data streams on two respective data lines; (iii) demultiplexing the second intermediate parallel data stream into two other parallel data streams on two other respective data lines; (iv) synchronizing the deserialization of the first and second intermediate output streams and (v) separating data in the serial data stream to data for each of the respective data lines.
12. The method of claim 10 wherein the single link is a fiber optic link.
13. The method of claim 10 wherein the tagging step includes providing a signal having a cycle with a first phase and a second phase, and tagging two of the respective ports with the first phase and tagging two other respective ports with the second phase.
14. The method of claim 10, wherein each of the plurality of data streams include data having a predetermined protocol, the method including the steps of initializing communications between the first and second devices using the predetermined protocol, transferring the plurality of data streams between the first and second devices, and checking status between the first and second devices free of disrupting the transfer of the plurality of data streams.
15. In an Enterprise Systems Connection (ESCON) architecture having channel directors, each channel director including (a) input and output data ports for receiving and transmitting data streams and (b) a switch matrix for dynamically connecting the data ports, wherein a first channel director communicates with a second channel director over a fiber optic data line, a device for the first channel director comprising: at least four input ports, each port receiving one of the data streams, a multiplexer for converting the data streams from the four input ports into an intermediate data stream, a transmitter for serializing the intermediate data stream into a serial data stream for output onto the fiber optic data line, and a signal for tagging output data in the serial data stream as corresponding to data from each of the respective input ports.
16. The ESCON architecture of claim 15 further including a second device for the second channel director, the second device comprising a receiver for receiving the serial data stream from the fiber optic data line, a demultiplexer for demultiplexing the serial data stream into four parallel data streams, and an identifier for identifying each of the four parallel data streams as belonging to one of the four ports from the first channel director.
Description:
HIGH SPEED LINKING MODULE TECHNICAL FIELD The present invention relates, in general, to an apparatus and method for linking data processors and peripheral devices and, more specifically, to an apparatus and method for linking devices over high speed fiber optic links.

BACKGROUND OF THE INVENTION Data centers are typically linked together so that data may be shared by multiple customers, who are remotely located from each other. The customers, such as banks and credit card issuers, need high speed connectivity between their server systems and mainframe systems to provide quality service and maximize their investment in information management. Applications that require such high speed connectivity include transaction co-processing, massive file transfers for decision support, archival databases for disaster recovery and transaction reporting requirements.

Referring to FIG. 1, there is provided a data processing interconnection system 10 of the prior art. An example of system 10 is an IBM data processing interconnection system known as Enterprise Systems Connection ("ESCON") (Trade Mark)."ESCON"is an interconnection system using fiber optic technology. Fiber optic links, such as links 14,18,22 and 26 create a local area network extending for kilometers among numerous systems, such as host processor 12, control units 24 and 28.

In"ESCON"architecture multiple systems may communicate with each other via channel-to-channel communications. For example, multiple mainframe systems may communicate channel-to-channel or gain access to multiple devices or communication control units. Referring to FIG. 1, channel directors 16 and 20 are capable of employing any-to-any, point-to-point switching and may make numerous physical connections between each other and peripheral devices. As shown, channel director 20 connects four fiber optic links 18 from channel director 16 with two fiber optic links 22 and two fiber optic links 26, each respectively branching to control units 24 and 28.

Although not shown in FIG. 1, channel director 20 or 22 may have as many as 256 optical ports to support as many as 128"ESCON"connections simultaneously and without contention. Each channel director includes a set of quad port adapters (QPAs). Each QPA handles the"ESCON"input or output data with four individual ports. The ports include either multi-mode optical transceivers or single-mode optical transceivers. Two QPA modules are shown in FIG. 1, namely QPA module 17 and QPA module 19.

A more detailed arrangement of QPAs is shown in FIG. 2. As illustrated, multiple QPAs 17a-17n are coupled to switch matrix 15 within channel director 16. Each QPA has four output/input ports (27a-27n) for providing up to four connections to remote devices. Switch matrix 15 provides the switching fabric to connect any one ESCON port to any other ESCON port. For example, two ports (27a) in QPA (1) are connected to two ports (27b) in QPA (2). In this manner, channel director 16 provides multiple interfaces and channel-to-channel switching among multiple devices.

A physical link between two points may consist of two fibers, one for transmitting and one for receiving. Information on the link is transmitted in a special 10- bit code, giving an instantaneous link rate of 20 megabytes per second or 200 megabits per second. After deducting for control (e. g., pacing bytes) and data encoding overhead, a channel data rate for real application data of 17 megabytes per second is achieved.

Data are transmitted in the form of packets of characters called frames.

Each character contains 10 bits when use is made of the 8 of 10 code to provide a dc balanced code. The frames can vary in size from 12 bytes to 1036 bytes. Each frame includes both the frame source address and its destination address. The addresses are used to route frames through the network. A switch matrix controller (not shown) within the channel director examines the destination address and dynamically connects the port receiving the frame to the destination port.

"ESCON"technology permits a maximum link rate of 200 megabits/sec between channel directors. The physical links are one-to-one and one port is required at each channel director to support both sides of the link. This one-to-one arrangement can become expensive, because valuable ports and fiber are consumed to support

communications between channel directors. Typically, a user must lease one fiber optic link for every port in a control unit. More detail of"ESCON"architecture is provided by S. A. Calta, et al. in"Enterprise Systems Connection (ESCON) Architecture-System Overview", July 1992, (IBM Journal Res. Development, Vol. 36, No. 4) and is incorporated herein by reference.

A need still exists for an apparatus and method for communicating between channel directors that does not require a one-to-one physical link per port. A need also exists for an interface device that may simultaneously support connectivity from multiple "ESCON"ports onto a single fiber link to reduce the cost of leasing fiber links.

SUMMARY OF THE INVENTION To meet this and other needs, and in view of its purposes, the present invention provides an apparatus and a method for communicating between two devices over a single link, wherein each device has a plurality of ports. The method includes: (a) converting a plurality of data streams from respective ports of a first of the two devices into one serial data stream, including the steps of: (i) multiplexing at least two of the plurality of data streams into a first intermediate output stream; (ii) multiplexing at least two other of the plurality of data streams into a second intermediate output stream; (iii) serializing the first and second intermediate output streams into the serial data stream, (iv) synchronizing the serialization of the first and second intermediate output streams, (v) tagging output data in the serial data stream as corresponding to data from each of the respective ports of the first device, and (vi) transmitting the serial data stream on the single link to a second of the two devices;

(b) converting the serial data stream in the second device to at least four input data streams, and (c) sending each of the input data streams to a port of the second device.

Step (b) includes the steps of: (i) de-serializing the serial data stream into first and second intermediate parallel data streams, (ii) demultiplexing the first intermediate parallel data stream into two parallel data streams on two respective data lines; (iii) demultiplexing the second intermediate parallel data stream into two other parallel data streams on two other respective data lines; (iv) synchronizing the de-serialization of the first and second intermediate output streams and (v) separating data in the serial data stream to data for each of the respective data lines.

In one embodiment, the single link is a fiber optic link. Also included is a signal having a cycle with a first phase and a second phase, and tagging two of the respective ports with the first phase and tagging two other respective ports with the second phase.

It is understood that the foregoing general description and the following detailed description are exemplary, but are not restrictive, of the invention.

BRIEF DESCRIPTION OF THE DRAWING The invention is best understood from the following detailed description when read in connection with the accompanying drawing. Included in the drawing are the following figures: FIG. 1 is a block diagram of a conventional channel-to-channel communications system;

FIG. 2 illustrates a conventional switch matrix for connecting optical links among devices in the communications system of FIG. 1 by using QPAs, each having four I/O ports; FIG. 3 is a block diagram of a channel-to-channel communications system using an embodiment of the present invention; FIG. 4 illustrates several director multiple interface facility (DMIF) modules of the present invention having replaced the QPA modules of FIG. 2; FIG. 5 is a block diagram of a multiplexer of the present invention incorporated in the DMIF module of FIG. 4; FIG. 6 is a block diagram of a demultiplexer of the present invention incorporated in the DMIF module of FIG. 4; FIG. 7 illustrates an initialization sequence between two remote devices using DMIF modules and a control unit which does not have a DMIF module; FIG. 8 is a block diagram of another embodiment of a multiplexer of the present invention further illustrating in-band message generation; FIG. 9 is a block diagram of still another embodiment of a demultiplexer of the present invention further illustrating in-band message decoding; FIG. 10 illustrates a data frame being transmitted or received between two devices of the present invention; and FIG. 11 is a timing diagram illustrating multiplexing of data from ports PO, P1, P2 and P3 of the DMIF module of the present invention.

DETAILED DESCRIPTION OF THE INVENTION Referring to FIG. 3, an embodiment of the invention will now be described. Data processing interconnection system 30 includes host processor 12; links 14,18,22 and 26; and control units 24 and 28. These elements are similar to elements shown in FIG. 1. Also included are channel directors 32 and 38, respectively containing modules 34 and 36. The modules are each labeled Director Multiple Interface Facility (DMIF). In the embodiment shown in FIG. 3, DMIF 34 and DMIF 36 are connected by

a single fiber optic link 18, thereby providing an advantage over the prior art system 10 which requires four fiber optic links 18 (FIG. 1).

As will be explained in detail, the DMIF module replaces, for example, a QPA module within each channel director, and acts and behaves like a QPA module to the rest of the system. The DMIF module, however, is different in that it includes one port instead of four ports. The DMIF module may multiplex four"ESCON"ports, each passing data at a rate of 200 megabits/sec, into one high speed port passing data at a rate of 960 megabits/sec. The DMIF module may also demultiplex the 960 megabits/sec into four individual data streams running at 200 megabits/sec. The DMIF module advantageously allows a user to transmit/receive data on four"ESCON"links with only one fiber link. This saves the user the expense of leasing three extra fiber cables.

Although only one fiber optic link 18 is shown in FIG. 3, it will be appreciated that there may be multiple fiber optic links between channel director 32 and channel director 38. There may also be multiple fiber optic links from one channel director to several channel directors (not shown). Thus, the savings to the user multiply for each DMIF module that replaces a QPA module. The savings multiply up to a maximum of l/2 of the total number of QPA modules that may be inserted in a channel director. For example, in a channel director that contains 64 QPA modules (256 ports), a maximum of 32 DMIF modules may be inserted to provide a mix of 32 DMIF modules and 32 QPA modules. This maximum is due to the need for four individual ports to be contained within the channel director for each DMIF module.

The mix of modules is shown in FIG. 4. As shown, channel director 32 contains multiple DMIF modules 34a and 34b and multiple QPA modules 17 n-1 and 17n.

Thus, QPA (1) and QPA (2) in FIG. 2 have been replaced with DMIF modules 34a and 34b. Since the DMIF modules each require one output port connected, for example, as shown to optic links 18 and 37, the complexity and expense of six ports is eliminated from the system shown in FIG. 2.

One embodiment of the DMIF module will now be explained by reference to FIGS. 5 and 6. FIG. 5 illustrates 4 to 1 multiplexing of data by multiplexer module 40 and FIG. 6 illustrates the inverse, namely 1 to 4 demultiplexing of data by demultiplexer

module 60. It will be appreciated that each DMIF module may include both multiplexer module 40 and demultiplexer module 60. In this manner, two-way optical data may be transmitted and received on a single optic link 18. Optic link 18 may be, for example, a single mode (SM) fiber (8/125 microns cable) transmitting at 1300 nm wavelength at a rate up to 960 megabits per second over distances from 2 km to 10 km. A single mode (XDF), dual SC-type connector may be used. Furthermore, in the preferred embodiment there is one laser type fiber optic transceiver per module (shown separately as optical transmitter 54 in FIG. 5 and as optical receiver 62 in FIG. 6).

FIG. 5 illustrates 4 to 1 multiplexing of data, for example, from four "ESCON"ports by multiplexer module 40."ESCON"port PO, P1, P2 or P3 provides 9 bit data bytes at 20 megabytes/sec rate. Multiplexer 42 multiplexes the data from "ESCON"ports PO and P1 onto one data path for input to parity generator 48. Parity generator 48 adds parity to make a 10 bit word. Identical processing is performed on the data from"ESCON"ports P2 and P3 by way of multiplexer 44 and parity generator 50.

Two 10 bit data streams are presented to serializer/deserializer (ser/des) transmitter 52 at 40 megabytes/sec rate. The result of multiplexing is that data from the four"ESCON" ports are sent as two data frames to ser/des transmitter 52. Time tag generator 46 provides a time tag which is toggled to identify which"ESCON"port's data resides on the 10 bit stream. This time tag is provided as an input to transmitter 52. For example, the time tag may be transmitted as a"0", when the data frame contains data from ports PO and P2; the time tag may be transmitted as a"1", when the data frame contains data from ports P1 and P3. The state of the time tag is encoded into a control field, as will be explained later, and transmitted, as part of the data stream, onto optical link 18 to be received by another DMIF module, for example DMIF module 36. The time tag is then used by a demultiplexer, at the other end of the link, to demultiplex the data.

Ser/des transmitter 52 performs two to one multiplexing of data. As shown in FIG. 5, transmitter 52 accepts a data frame consisting of 20 bits (10 bits on parallel bus 41 and 10 bits on parallel bus 43) which contain data from two"ESCON" ports (PO and P2 or P1 and P3). Transmitter 52 also performs a parallel to serial

conversion of the data and outputs the data onto serial bus 45. The data are then transmitted onto link 18 by optical transmitter 54.

It will be appreciated that transmitter 52 may be, for example, part of a transceiver chip set from Hewlett Packard, the HDMP-1022 transmitter and the HDMP- 1024 receiver. This chip set is also referred to herein as the GLINK chip set. As known to those familiar with the chip set, encoding, multiplexing, clock extraction, demultiplexing and decoding are handled by the chip set. The chip set operates within a frequency range of 150 megabits/sec to 1.5 gigabits/sec. Using"ESCON"data rate of 200 megabits/sec, for example, the chip set operates at 960 megabits/sec, which includes four control bits inserted within the data. The control bits delineate whether the frame is a data, control, or fill frame. These frames will be described later.

As shown, a strobe-in clock is provided on line 47 to transmitter 52.

Transmitter 52 uses the strobe-in clock to latch the parallel input data and, by multiplying the clock by 24, produces a serial clock to output the serial data at the higher rate.

It will also be appreciated that transmitter 52 may maintain a DC balance of the data on the link by determining the cumulative sign of the data and control bits of the frame. Based on the sign of the previous and present frames, transmitter 52 may invert the present frame to keep the cumulative sign of all of the frames equal to 0. By maintaining the DC balance of the serial data, there are no restrictions on the type of data that may be sent.

In another embodiment, FIG. 6 shows demultiplexer module 60 of DMIF module 36. As shown, optical receiver 62 receives data from link 18 and provides the data serially to serializer/deserializer receiver 64. Receiver 64 indirectly demultiplexes the data by performing a serial to parallel conversion. The parallel data on busses 61 and 63 together contain a 20 bit wide word that is output at 40 MHz, a rate twice the normal ESCON parallel rate. A time tag is provided from receiver 64 to further demultiplex the data into four ESCON paths. It will be understood that receiver 64, for example, may be part of a transceiver chip set from Hewlett Packard, the HDMP-1024, described above.

Receiver 64 may provide the first half of the 20 bit wide word to parity checker 66 and the second half of the 20 bit wide word to parity checker 68. Each parity checker verifies the parity and provides the remaining 9 bit wide word to demultiplexer 70 and demultiplexer 72, respectively. The time tag, shown in FIG. 6, may be used to demultiplex the data into four outputs, PO, P1, P2 and P3. When the time tag is 0, for example, the data frame may contain data for ports PO and P2; when the time tag is 1, for example, the data frame may contain data for ports P1 and P3.

It will be appreciated that receiver 64 performs the inverse function performed by transmitter 52 (FIG. 5). Receiver 64 determines the frequency of the link and generates a recovered serial clock during initialization by locking onto the transition in the fill frames (described later). The receiver obtains the 24 bit serial frame and locks the recovered serial clock to the data. The receiver may utilize the transition within the control bit portion of the frame to phase align the recovered clock with the data. The receiver performs serial to parallel conversion of the frame to produce the 20 bit wide word. The 4 bit control field is decoded to generate status indicating whether a data, control, or fill frame is received (described later). The receiver may also generate a parallel clock (STRBOUT) for clocking the data to external logic.

Frame Structure In one embodiment of the invention, each data frame contains 24 bits.

Twenty of the bits contain information. The other four bits determine whether a data frame, a control frame, or fill frame is present.

Data Frame A data frame, for example, is used to send normal"ESCON"data. Each frame contains data that is 20 bits wide, and includes four control bits to indicate that the frame is a data frame. Table 1 illustrates an example of the contents of a data frame.

The D-Field contains the 20 bit data word and the C-Field contains the 4 bit control field.

The Data Status column defines the data when it is unaltered (True) or complemented (Inverted) and depends on the value of the cumulative sign of past and present data. The '*'after the data bits in the D-Field indicates that the bits have been inverted. In the exemplary embodiment, the D-Field is transmitted first (Do first) and the C-Field is transmitted last. DataStatus Flag Bit D-Field C-Field True0Do-D1101 Inverted Do*-D, g* 0010 True Do-Dl91011 Invened Do*-Dl9* 0100

Table 1. Data Frame Structure Data characters are used, for example, to transfer information between "ESCON"hosts and peripherals and may be data placed on link 18 (FIG. 3). Each character contains 10 bits. The most significant bit is an odd parity bit and forces a data character to contain an odd number of ls. The next most significant bit indicates whether the character is an"ESCON"data character or a control character. For data characters, the bit is a'0'. The next 8 bits contain information passed between the host and peripherals and may be any one of 256 combinations (2).

Control characters are used, for example, to send control information between the"ESCON"hosts and peripherals any may be data placed on link 18 (FIG. 3).

These characters delineate the start and end of a frame and initiate connection recovery and offline procedures. Other functions for these control characters are outlined in "ESCON I/O Interface,"IBM, SA 22-7202-02 (6/92) and is incorporated herein by reference.

Like a data character, a control character consists of 10 bits. The most significant bit is used to force odd parity. The ninth bit determines whether the character is data or control. For a control character, this bit is a'1'. The next eight bits represent the"ESCON"control characters whose format results from a chip residing in a QPA module. The chip also creates characters for certain conditions occurring on the link, such as errors and frame delimiters. These characters may be transmitted from a QPA

module through the switch matrix and to a DMIF module (see FIG. 4, for example). The DMIF module passes these characters without alteration.

"ESCON"architecture defines only a few control characters. Since 8 bits are available for defining a control character, as many as 256 (28) possible control characters may be defined and added by the DMIF module for transmission over the link to another DMIF module. For example, Table 2 defines various control characters that may be transmitted over a link between two DMIF modules. Some of the control characters are defined by ESCON architecture and generated by a QPA module and other control characters are generated by a DMIF module. The manner of generating control characters in the DMIF module will be described later. ControlCharacterNameHexValue K28.0 00 K28.1 01 K28.2 02 K28.3 03 K28.4 04 K28.5 05 K28.6 06 K28.7 07 CSOF 27 PSOF 47 CVERR EO -K28.5 E1 +K28.5 E2 DisparityError E4 LossofSignal EF Table 2. Control Character Definitions Table 3 defines the control characters shown in Table 2. CONTROL CHARACTERDEFINITION K28.1throughK28.7Thesecharactersarecombinedintogroupsoftwoor threecharacters. Asagroup,theyrepresentonefunctionsuchasan"ESCON"frame delimiterorsequence.Forexample,aconsecutivesequenceofK28.6, K28.1andK28.1indicatesthatadisconnectedendofframedelimiteris beingreceived. ConnectStartofFrameThischaracterisauniquecontrolcharactercod egeneratedbytheQPA modulewhenaK28.1followedbyaK28.7aredetected,indicatingthata framebeginningwithaconnectstartofframedelimiterisbeing received.TheQPAmodulereplacestheK28.7withacharacterencoded as'27'.Thischaracterispassedunalteredthroughtheswitchingmatr ix aswellastheDMIFmodule.ADMIFmoduleontheothersideofthe linkdecodesthischaracterasaconnectstartofframedelimiter. PassiveStartofFrameThischaracterisauniquecontrolcharactercod egeneratedbytheQPA modulewhenaK28.5followedbyaK28.7aredetected,indicatingthata framebeginningwithapassivestartofframedelimiterisbeingreceiv ed. TheQPAmodulereplacestheK28.7withacharacterencodedas'47'. Thischaracterispassedunalteredthroughtheswitchingmatrixaswel las theDMIFmodule.ADMIFmoduleontheothersideofthelinkencodes thischaracterasapassivestartofframedelimiter. DisparityErrorsTheseareuniquecharactersthattheQPAmodulegener ateswhenthe disparityforthereceivedcharacterisincorrect.Whenan'E4'is detected,theQPAmodulehasdetectedbaddisparityonadatacharacter oracontrolcharacterotherthanaK28.5.Ifan'E1'or'E2'isdetected, thentheQPAmodulehasdetectedincorrectdisparityonaK28.5 character.The'E1'indicatesthataK28.5withnegativedisparityis detectedwhenonewithpositivedisparitywasexpected.The'E2' indicatesthataK28.5withpositivedisparityisdetectedwhenonewit h negativedisparitywasexpected.Thesecharactersarepassedunalter ed throughtheswitchandDMIFmodule.ADMIFmoduleontheotherside ofthelinkdetectsthesecharactersaserrorbytes. CodeViolationErrorThisisauniquecharacter('EO')thattheQPAmodu legenerateswhenit receivesadatacharacterthatitcannotdecode.Thischaracterispass ed unalteredthroughtheswitchandDMIFmodule.ADMIFmoduleonthe othersideofthelinkdetectsthischaracterasanerrorbyte. LossofSignalThisisauniquecharactergeneratedbytheDMIFmodulewh enanyone ofthefourESCONportsconnectedtotheDMIFmodulearenot receivinglight.However,thelinkisactiveandtheFOSAontheDMIF moduleistransmittinglight.Forthiscase,theDMIFmodulesendsan 'EF'characterthataDMIFmoduleontheothersideofthelinkmay decodeasaLossofSignalconditionandsignalthisconditiontoits connectedESCONports.

Table 3. Detailed Control Character Definitions

In-Band Messages In-band message handling capability allows the DMIF to transfer control commands and status to other DMIFs. This information is transferred over the same communication path as the ESCON data so that an extra path between these devices is not needed. The communication is transparent to other ESCON devices attached to a DMIF.

In one embodiment, the data interface between two DMIFs carries four ESCON paths of data that are time division multiplexed onto one high-speed link. In- band messages are passed over this link as well. The particular time slot (port) it occupies as well as the particular bit within the ESCON byte defines each message. This technique has the advantage of allowing the DMIF to pass status to the other DMIF within a particular port's slot when it is not busy, even if the other ports are too busy to allow the transmission of status in their port's slots. There are two types of in-band messages that may be transferred: commands and status.

The definition of a message being transmitted depends on the 5 most significant bits of the ESCON 9 bit word, the particular time slot that it is sent, and the specific bits within the least significant 4 bits that are set. A command message is defined as a word that takes the form of 1FX or 1DX, where X represents the least significant 4 bits. A status message is defined as a word that takes the form of 18X or 19X. Since there are four time slots and each time slot has a different meaning, a specific 9-bit pattern within one slot has a different meaning than an identical pattern within a different time slot. For example, a command message of 1F4 received within port 0's time slot has a different meaning than a command message of 1F4 received within port 1's time slot. Exemplary command and status messages are defined in Tables 4 and 5.

Protocol requires that messages be transferred within two consecutive time slots. For example, a message defined for port 0 may be sent in two consecutive time slots pertaining to port 0. The message may only be sent when specific ESCON patterns are contained within the time slot. These patterns are Loss of Signal characters, sequences, or idles. The message replaces these patterns on the multiplexed link. If these patterns do not exist at the time that the message is to be transmitted, the sender may hold

the message until the time slot for the message contains one of these patterns. At this point, the message may be sent.

Messages may also be received in-band with the ESCON data. The type of message, whether it is a command or status message, is determined by the most significant 5 bits of the 9 bit word. For a command word, these 5 bits are'1F'or'1D' and for a status word, these 5 bits are'18'or'19'. The message has to be received in two consecutive time slots for the port from which the message was sent. If only one time slot contains the message, it is discarded. The message words are also replaced by the data content that surrounds them before being transferred to the 200 Mbits/s links.

For example, if a message is sent within a not operational sequence, the message words are replaced by the ordered pair that make up the sequence such that the ESCON device attached to the DMIF sees an uninterrupted not operational sequence. If this were not done, the ESCON devices would detect the messages as code violation errors that might force an erroneous loss of synchronization condition. Additionally, for the example just given, the ESCON device would detect that the sequence ended and began again, resulting in an additional link incidence report.

A command message, for example, may be sent from one DMIF to another DMIF. The other DMIF then may respond with a status message on the same port's time slot from which the command message is received. If a response is not received within 1 second, the message is retried once.

As described in one embodiment of the invention, messages are defined according to the port's time slot in which it exists, the value of the 5 most significant bits in the 9 bit word, and the particular bit with the least significant 4 bits that is asserted.

Command messages contain a value of'lF'or'lD'in the 5 most significant bits and status messages contain a value of'18'or'19'. Table 4 defines the command and status messages of one embodiment. Each definition includes the port's time slot in which the message exists and the particular bit within the least significant 4 bits that is defined for the message.

Tables 4A and 4B define the'lF'command messages. In general, one bit is set for each message that forces a condition within a peripheral unit attached to a

DMIF. Such peripheral unit may be, for example, a DMIF downstream unit (DDU). If future commands are received with this bit set, the condition is preserved. If a future command contains the bit negated, the condition is disabled. For example, a loop-back on port 0 exists as long as commands are received on port 0 that contain bit 2 asserted. If a command is received on this port with the bit negated, the loop-back is disabled. There may be cases where multiple bits are asserted within a command message in order to preserve conditions from previous commands. For example, if port 0 is in loop-back mode from a previous command and a Send Status command is to be sent while preserving the loop-back, the message would contain the value'1F5' (Send Status and Loop-back Port 0 bits asserted). (x)Definition CommandPrefix 321 0 lFx-Port 0 Undefined Undefined UndefinedStatus Command#3 Command #2 Command #1 lFx-Port I Undefined Undefined UndefinedRestartDDU Command#6 Command #5 Command #4 lFx-Port 2 Undefined Undefined UndefinedUndefined Command#10Command#9 Command #8Command#7 lFx-Port3Undefined Undefined RequestFPGARevRequestBoard Command#12 Command #11Rev

Table 4A. In-Band'lFx'Command Messages It will be understood that in DMIF to DMIF communications, only the Request Rev command is used. The other commands shown in Table 4A are used in DMIF to DDU communications. COMMANDDEFINITION SendStatusWhenthiscommandisreceived,aperipheral,likeaDDUfore xample, (Port0,Bit0)respondswithitsstatus. TheDDUsendsstatusinformationonallfour ESCONports.ThiscommandisnormallysentwhentheDDUandDMIF haveachievedsynchronization.WithnoESCONtrafficoccurring,the responsetothiscommandshouldoccurquickly.Thiscommand,however, canbesentwhiletheDDUisonlinewithattachedESCONdevicesand passingtraffic.Thestatusmaynotbereturnedimmediatelyinthislat ter casedependingontheamountoftrafficoneachport. UndefinedCommand#1Thecorrespondingbitinthestatuswordforthisp ortisalreadydefined. (Port0,Bit1)Therefore,thisbitcannotbeusedforafuturecommandif the corresponding statusbitneedstobereturnedasaresponse.However,ifa COMMAND DEFINITION commandistobedefinedthatdoesnotrequirearesponseorcanreceivea responseonadifferentport,thenthisbitmaybeused. UndefinedCommand#2Thecorrespondingbitinthestatuswordforthisp ortisalreadydefined. (Port0,Bit 2)Therefore,thisbitcannotbeusedforafuturecommandifthe correspondingstatusbitneedstobereturnedasaresponse.However,i fa commandistobedefinedthatdoesnotrequirearesponseorcanreceivea responseonadifferentport,thenthisbitmaybeused. UndefinedCommand#3Thecorrespondingbitinthestatuswordforthisp ortisalreadydefined. (Port0,Bit3)Therefore,thisbitcannotbeusedforafuturecommandif the correspondingstatusbitneedstobereturnedasaresponse.However,i fa commandistobedefinedthatdoesnotrequirearesponseorcanreceivea responseonadifferentport,thenthisbitmaybeused. RestartDDUThiscommandinitiatestheDDUtoperformahardwarereset, causingitto (Port1,Bit0)initializeitself.ThiscausestheDDUtoexecuteapower -ondiagnostic test.ThereisnotadirectresponsetothiscommandfromtheDDU.The DMIFrecognizesthatthecommandisexecutedbyrecognizinglossof synchronization.Whensynchronizationisreacquired.theDMIFexecu tes normalstartupsequencethatincludesissuingoftheSendStatuscomma nd. Theresultofthepower-ondiagnosticsisreflectedinthestatusretur nedfor theSendStatuscommand. UndefinedCommand#4Thecorrespondingbitinthestatuswordforthisp ortisalreadydefined. (Port1,Bit1)Therefore,thisbitcannotbeusedforafuturecommandif the correspondingstatusbitneedstobereturnedasaresponse.However,i fa commandistobedefinedthatdoesnotrequirearesponseorcanreceivea responseonadifferentport,thenthisbitmaybeused. UndefinedCommand#5Thecorrespondingbitinthestatuswordforthisp ortisalreadydefined. (Port1,Bit2) Therefore,thisbitcannotbeusedforafuturecommandifthe correspondingstatusbitneedstobereturnedasaresponse.However,i fa commandistobedefinedthatdoesnotrequirearesponseorcanreceivea responseonadifferentport,thenthisbitmaybeused. UndefinedCommand#6Thecorrespondingbitinthestatuswordforthisp ortisalreadydefined. (Port1,Bit3)Therefore,thisbitcannotbeusedforafuturecommandif the correspondingstatusbitneedstobereturnedasaresponse.However,i fa commandistobedefinedthatdoesnotrequirearesponseorcanreceivea responseonadifferentport,thenthisbitmaybeused. UndefinedCommand#7Thecorrespondingbitforthestatuswordforthis portisalreadydefined. (Port2,Bit0)Therefore,thisbitcannotbeusedforafuturecommandif the correspondingstatusbitneedstobereturnedasaresponse.However,i fa commandistobedefinedthatdoesnotrequirearesponseorcanreceivea responseonadifferentport,thenthisbitmayalsobeused. UndefinedCommand#8Thecorrespondingbitforthestatuswordforthis portisnotdefined. (Port2,Bit1)Therefore,thisbitmaybeusedforafuturecommandthatr equiresthe assertionofthecorrespondingstatusbitasaresponse.However,ifa commandistobedefinedthatdoesnotrequirearesponseorcanreceivea responseonadifferentport,thenthisbitmayalsobeused. UndefinedCommand#9Thecorrespondingbitforthestatuswordforthis portisalreadydefined. (Port 2, Bit 2)Therefore,thisbitcannotbeusedforafuturecommandifthe correspondingstatusbitneedstobereturnedasaresponse.However,i fa commandistobedefinedthatdoesnotrequirearesponseorcanreceivea responseonadifferentport,thenthisbitmaybeused. UndefinedCommand#10Thecorrespondingbitforthestatuswordforthi sportisalreadydefined. (Port2,Bit3)Therefore,thisbitcannotbeusedforafuturecommandif the correspondingstatusbitneedstobereturnedasaresponse.However,i fa commandistobedefinedthatdoesnotrequirearesponseorcanreceivea responseonadifferentport,thenthisbitmaybeused.

Table 4B. Detail of In-Band'I Fx'Command Messages COMMANDDEFINITION RequestBoardRevThiscommandrequeststheRevisionfortheDDUBoard. Itissentpriorto (Port3,Bit0)theDDUEnableCommand.TheDDUrespondsusingthesevenR EVbits andtheappropriateREVIDBitinthestatusword. RequestFPGARevThiscommandrequeststheRevisionfortheDDUFPGA.It istobesent (Port3,Bit1)priortotheDDUEnable Command. TheDDUrespondsusingtheseven REVbitsandtheappropriateREVIDBitinthestatusword. UndefinedCommand#11Thecorrespondingbitforthestatuswordforthi sportisalreadydefined. (Port 3, Bit 2)Therefore,thisbitcannotbeusedforafuturecommandifthe correspondingstatusbitneedstobereturnedasaresponse.However,i fa commandistobedefinedthatdoesnotrequirearesponseorcanreceivea responseonadifferentport,thenthisbitmaybeused. UndefinedCommand#12Thecorrespondingbitforthestatuswordforthi sportisalreadydefined. (Port3,Bit3)Therefore,thisbitcannotbeusedforafuturecommandif the correspondingstatusbitneedstobereturnedasaresponse.However,i fa commandistobedefinedthatdoesnotrequirearesponseorcanreceivea responseonadifferentport,thenthisbitmaybeused.

Table 4B. Detail of In-Band'lFx'Command Messages (continued) Tables 4C and 4D show the In-Band'lDx'command messages. One bit is set for each message that forces a condition within a DDU. If future commands are received with this bit set, the condition is preserved. If a future command contains the bit negated, the condition is disabled. For example, a loop-back on port 0 exists as long as commands are received on port 0 that contain bit 2 asserted. If a command is received on this port with the bit negated, the loop-back is disabled. There may be cases where multiple bits are asserted within a command message in order to preserve conditions from previous commands. For example, if port 0 is in loop-back mode from a previous command and a Send Status command is to be sent while preserving the loop-back, the message contains the value'1F5' (Send Status and Loop-back Port 0 bits asserted). (x)Definition CommandPrefix 3 2 10 lDx-Port0EnableDDULoop-backPort0Expansion Expansion Command#3 Command #2 lDx-Port1Loop-backGLINKLoop-backPort1Expansion Expansion Command#5 Command #4 lDx-Port2ExpansionLoop-backPort2Expansion Expansion Command#8Command#7 Command #6 lDx-Port3ExpansionLoop-backPort3Expansion Expansion Command#11 Command #10 Command #9 Table 4C. In-Band'lDx'Command Messages COMMANDDEFINITION ExpansionCommand#2Thecorrespondingbitforthestatuswordforthis portisnotdefined. (Port0,Bit0)Therefore,thisbitisusedforafuturecommandthatrequ irestheassertion ofthecorrespondingstatusbitasaresponse. ExpansionCommand#3Thecorrespondingbitforthestatuswordforthis portisnotdefined. (Port0,Bit1)Therefore,thisbitisusedforafuturecommandthatrequ irestheassertion ofthecorrespondingstatusbitasaresponse. Loop-BackPort0Onreceptionofthiscommand,theDDUenablestheelect ricalloop-back (Port0,Bit2)fortheHOTLINKchipsetandrespondswithstatusindicat ingthatthis optionisenabled.Thisloop-backexistsuntiltheDDUreceivesacomma nd onthisportwiththisbitnegated,whichisconsideredtheRemovePort0 Loop-backcommand.Additionally,theloop-backisdisablediftheDDU receivesaRestartorDisableDDUcommand,ortheDDUismanually resetorpowercycled.Thiscommandcanbeissuedaspartofatestthat occursduringmanufacturingorfieldservice.Itshouldnotbeissuedu ntil theESCONdeviceattachedtoPort0ontheDDUisoffline. EnableDDUThiscommandenablestheDDUtopassESCONtraffic.TheDDU (Port0,Bit3)respondstothiscommandwiththecorrespondingbitinth estatusword asserted.TheDDUthenturnsits200Mbit/stransmittersonwhich initiatestheESCONtraffic.ThisbitiscontinuallyassertediftheDD Uis tostayenabledevenifcommandsareissuedforotherreasonsonthispor t, i.e.iftheIDisrequestedwhiletheDDUisalreadyenabled,thisbitsho uld beassertedaswell.Ifthisbitisnegated,theDDUbecomesdisabledand turnsoffits200Mbit/stransmitters.Therefore,beforetheDDUcanbe disabled,thedevicesshouldbebroughtofflineeithermanuallyorbyt he DMIFsendingtheofflinesequence. ExpansionCommand#4Thecorrespondingbitforthestatuswordforthis portisnotdefined. (Port1,Bit0)Therefore,thisbitistobeusedforafuturecommandthat requiresthe assertionofthecorrespondingstatusbitasaresponse. ExpansionCommand#5Thecorrespondingbitforthestatuswordforthis portisnotdefined. (Port1,Bit1)Therefore,thisbitistobeusedforafuturecommandthat requiresthe assertionofthecorrespondingstatusbitasaresponse. Loop-BackPort1Onreceptionofthiscommand,theDDUenablestheelect ricalloop-back (Port1,Bit2)fortheHOTLINKchipsetandrespondswithstatusindicat ingthatthis optionisenabled.Thisloop-backexistsuntiltheDDUreceivesacomma nd onthisportwiththisbignegated,whichisconsideredtheRemovePort1 Loop-backcommand.Additionally,theloop-backisdisablediftheDDU receivesaRestartorDisableDDUcommand,ortheDDUismanually resetorpowercycled.Thiscommandcanbeissuedaspartofatestthat occursduringamanufacturingorfieldservice.Itshouldnotbeissued untiltheESCONdeviceattachedtoPort1ontheDDUisoffline.

Table 4D. Detail of In-Band'lDx'Command Messages COMMANDDEFINITION Loop-BackGLINKOnreceptionofthiscommand,theDDUenablestheloop- backforthe (Port1,Bit3)GLINKchipsetsuchthatdatareceivedatthe960Mbit/smu ltiplexed receivelinkispassedtothetransmitmultiplexedlink.TheDDUrespon ds withstatusindicatingthatthisoptionisenabled.Thisloop-backexi stsuntil theDDUreceivesacommandonthisportwiththisbitnegated,whichis consideredtheRemoveGLINKLoop-backcommand.Additionally,the loop-backisdisablediftheDDUreceivesaRestartorDisableDDU command,ortheDDUismanuallyresetorpowercycled.Thiscommand canbeissuedaspartofatestthatoccursduringmanufacturingorfield service.ItshouldnotbeissueduntilalloftheESCONdevicesattached to theDDUareoffline. Onlydataisloopedbacktothesender.Whilethisconditionisactive, commandandstatusmessagesareprocessedasiftheloop-backisnot present,i.e.anyreceivedcommandmessagesareprocessedandthe responsesreturned. ExpansionCommand#6Thecorrespondingbitforthestatuswordforthis portisnotdefined. (Port2,Bit0)Therefore,thisbitistobeusedforafuturecommandthat requiresthe assertionofthecorrespondingstatusbitasaresponse. ExpansionCommand#7Thecorrespondingbitforthestatuswordforthis portisnotdefined. (Port2,Bit1)Therefore,thisbitistobeusedforafuturecommandthat requiresthe assertionofthecorrespondingstatusbitasaresponse. Loop-BackPort2Onreceptionofthiscommand,theDDUenablestheelect ricalloop-back (Port2,Bit2)fortheHOTLINKchipsetandrespondswithstatusindicat ingthatthis optionisenabled.Thisloop-backexistsuntiltheDDUreceivesacomma nd onthisportwiththisbitnegated,whichisconsideredtheRemovePort2 Loop-backcommand.Additionally,theloop-backisdisablediftheDDU receivesaRestartorDisableDDUcommand,ortheDDUismanually resetorpowercycled.Thiscommandcanbeissuedaspartofatestthat occursduringmanufacturingorfieldservice.Itshouldnotbeissuedu ntil theESCONdeviceattachedtoPort2ontheDDUisoffline. ExpansionCommand#8 Thecorrespondingbitforthestatuswordforthisportisnotdefined. (Port2,Bit3)Therefore,thisbitistobeusedforafuturecommandthat requiresthe assertionofthecorrespondingstatusbitasaresponse. ExpansionCommand#9Thecorrespondingbitforthestatuswordforthis portisnotdefined. (Port3,Bit0)Therefore,thisbitistobeusedforafuturecommandthat requiresthe assertionofthecorrespondingstatusbitasaresponse. ExpansionCommand#10Thecorrespondingbitforthestatuswordforthi sportisnotdefined. (Port3,Bit1)Therefore,thisbitistobeusedforafuturecommandthat requiresthe assertionofthecorrespondingstatusbitasaresponse. Loop-BackPort3Onreceptionofthiscommand,theDDUenablestheelect ricalloop-back (Port3,Bit2)fortheHOTLinkchipsetandrespondswithstatusindicat ingthatthis optionisenabled.Thisloop-backexistsuntiltheDDUreceivesacomma nd onthisportwiththisbitnegated,whichisconsideredtheRemovePort3 Loop-backcommand.Additionally,theloop-backisdisablediftheDDU receivesaRestartorDisableDDUcommand,ortheDDUismanually resetorpowercycled.Thiscommandcanbeissuedaspartofatestthat occursduringmanufacturingorfieldservice.Itshouldnotbeissuedu ntil theESCONdeviceattachedtoPort3ontheDDUisoffline. ExpansionCommand#11Thecorrespondingbitforthestatuswordforthi sportisnotdefined. (Port3,Bit3)Therefore,thisbitistobeusedforafuturecommandthat requiresthe assertionofthecorrespondingstatusbitasaresponse.

Table 4D. Detail of In-Band'lDx'Command Messages (continued) Tables 5A and 5B define the'18x'status messages. These status messages may be sent in response to a command or as unsolicited alarms. In either case, the status messages are not a command/response message pair. Individual or multiple bits may be asserted in the status messages depending on the conditions that are present within the DDU. (x)Definition Status Prefix 3 2 1 0 18x-Port0Fan#1AlarmDiagnosticsFailedDiagnostics PowerSupply Passed #1Alarm 18x-Port1REVIDBitREVBit6REVBit5 REVBit4 18x-Port2Fan#2AlarmOverTemperatureUndefined PowerSupply AlarmResponse#1#2 Alarm 18x-Port3REVBit3REVBit2REVBit1 REV Bit0

Table 5A. In-Band'18x'Status Messages It will be understood that in DMIF to DMIF communications, only the REV ID Response status is used (in response to a Request Rev Command). The other responses shown in Table 5A are used in DMIF to DDU communications. COMMANDDEFINITION PowerSupply#1AlarmThisbit,whenasserted,indicatesthatthereisa faultwithinpowersupply#1. (Port0,Bit0)Aslongasthisconditionexists,thisbitremainsassert edforadditional commandsonthisport.Whenthisalarmisgenerated,thestatuswordmay be transmittedonthe960Mbit/slinkwithoutbeingsolicited,i.e.witho utreceiving aSendStatuscommand.Otherwise,thestatusofthisalarmissentinres ponse toaSendStatuscommand.Thedefaultconditionforthisbitisa'0'. DiagnosticsPassedThisbit,whenasserted,indicatesthatthepowero norexternallyinitiated (Port0,Bit1)diagnosticshavepassed.ItisinitiallyresetwhentheD DUpowersuporis manuallyresetandbeforetheinitialdiagnosticsareexecuted.Itisa lsoreset whentheDDUreceivestheRestartDDU.Ifthediagnosticsfinishwithno errors,thisbitisassertedwheneverstatusisreturnedonthisport.O therwise, thisbitisnegated.Onceasserted,thisbitstaysassertedforadditio nal commandsonthisportuntiloneoftheresetconditionsmentionedprevi ouslyis present.Thedefaultconditionforthisbitisa'0'. DiagnosticsFailedThisbit,whenasserted,indicatesthatthepowero norexternallyinitiated (Port0,Bit2)diagnosticshavefailed.ItisresetwhentheDDUpowersu porismanually resetandbeforetheinitialdiagnosticsareexecuted.Itisalsoreset whenthe DDUreceivestheRestartDDU.Ifthediagnosticsfinishwitherrors,th isbitis assertedwheneverstatusisreturnedonthisport.Otherwise,thisbit isnegated. Onceasserted,thisbitstaysassertedforadditionalcommandsonthis portuntil oneoftheresetconditionsmentionedpreviouslyispresent.Thedefau lt conditionforthisbitisa'0'. Fan#lAlarmThisbit,whenasserted,indicatesthatthereisafaultwit hinfan#1.Aslongas (Port0,Bit3)thisconditionexists,thisbitremainsassertedforadd itionalcommandsonthis port.Whenthisalarmisgenerated,thisstatuswordcanbetransmitted outthe COMMANDDEFINITION 960Mbit/slinkwithoutbeingsolicited,i.e.withoutreceivingaSend Status command.Otherwise,thestatusofthisalarmissentinresponsetoaSen d Statuscommand.Thedefaultconditionforthisbitisa'0'. REVBit4Thisbitrepresentsbit4fortherevisionstatusword.Therear esevenbits (Port1,Bit0)availableforthestatusword.Avalue of allzeroesinthisstatuswordindicates thepresenceofaDMIFontheotherend.Anon-zerovalueindicatesthe presenceofaDDUontheotherend.ThestatuswordcanrepresenttheDDU BoardrevisionortheDDUFPGARevisionlevel.TheREVIDBitisusedto identifywhichofthetwowordsiscontainedinthefield. REVBit5Thisbitrepresentsbit5fortherevisionstatusword.Therear esevenbits (Port1,Bit1)availableforthestatusword.Avalueofallzeroesinthi sstatuswordindicates thepresenceofaDMIFontheotherend.Anon-zerovalueindicatesthe presenceofaDDUontheotherend.ThestatuswordcanrepresenttheDDU BoardrevisionortheDDUFPGARevisionlevel.TheREVIDBitisusedto identifywhichofthetwowordsiscontainedinthefield. REVBit6Thisbitrepresentsbit6fortherevisionstatusword.Therear esevenbits (Port1,Bit2)availableforthestatusword.Avalueofallzeroesinthi sstatuswordindicates thepresenceofaDMIFontheotherend.Anon-zerovalueindicatesthe presenceofaDDUontheotherend.ThestatuswordcanrepresenttheDDU BoardrevisionortheDDUFPGARevisionlevel.TheREVIDBitisusedto identifywhichofthetwowordsiscontainedinthefield.

Table 5B. Detail of In-Band'18x'Status Messages COMMAND DEFINITION REVIDBitThisbitisusedtoidentifywhichoftworevisionstatuswords isbeingsent.A (Port1,Bit3)'0'inthisbitidentifiestheREVbitsasaDMIForDDUboar dRevisionStatus word.A'1'isthisbitidentifiestheREVbitsasaDDUFPGARevisionStat us word. PowerSupply#2AlarmThisbit,whenasserted,indicatesthatthereisa faultwithinpowersupply#2. (Port 2,Bit0)Aslongasthisconditionexists,thisbitremainsassertedfor additional commandsonthisport.Whenthisalarmisgenerated,thisstatuswordca nbe transmittedonthe960Mbit/slinkwithoutbeingsolicited,i.e.witho utreceiving aSendStatuscommand.Otherwise,thestatusofthisalarmissentinres ponse toaSendStatuscommand.Thedefaultconditionforthisbitisa'0'. UndefinedResponse#1Thisbitisreservedasthestatusbitforanundef inedstatusmessage.The (Port2,Bit1)defaultconditionforthisbitisa'0'. Over-TemperatureAlarmThisbitindicatesthattheDDUhasdetectedan over-temperaturecondition.As (Port2,Bit2)longasthisconditionexists,thisbitremainsasserted foradditionalcommands receivedonthisport.Whenthisalarmisgenerated,thisstatuswordca nbe transmittedonthe960Mbit/slinkwithoutbeingsolicited,i.e.witho utreceiving aSendStatuscommand.Otherwise,thestatusofthisalarmissentinres ponse toaSendStatuscommand.Thedefaultconditionforthisbitisa'0'. Fan #2 AlarmThisbit,whenasserted,indicatesthatthereisafaultwithinfa n#1.Aslongas (Port2,Bit3)thisconditionexists,thisbitremainsassertedforadd itionalcommandsreceived onthisport.Whenthisalarmisgenerated,thisstatuswordcanbetrans mitted onthe960Mbit/slinkwithoutbeingsolicited,i.e.withoutreceiving aSend Statuscommand.Otherwise,thestatusofthisalarmissentinresponse toa SendStatuscommand.Thedefaultconditionforthisbitisa'0'. REVBit0Thisbitrepresentsbit0fortherevisionstatusword.Therear esevenbits (Port3,Bit0)availableforthestatusword.Avalueofallzeroesinthi sstatuswordindicates thepresenceofaDMIFontheotherend.Anon-zerovalueindicatesthe presenceofaDDUontheotherend.ThestatuswordcanrepresenttheDDU BoardrevisionortheDDUFPGARevisionlevel.TheREVIDBitisusedto identifywhichofthetwowordsiscontainedinthefield. REVBit1Thisbitrepresentsbit1fortherevisionstatusword.Therear esevenbits (Port3,Bit1)availableforthestatusword.Avalueofallzeroesinthi sstatuswordindicates thepresenceofaDMIFontheotherend.Anon-zerovalueindicatesthe presenceofaDDUontheotherend.ThestatuswordcanrepresenttheDDU BoardrevisionortheDDUFPGARevisionlevel.TheREVIDBitisusedto identifywhichofthetwowordsiscontainedinthefield. REVBit2Thisbitrepresentsbit2fortherevisionstatusword.Therear esevenbits (Port3,Bit2)availableforthestatusword.Avalueofallzeroesinthi sstatuswordindicates thepresenceofaDMIFontheotherend.Anon-zerovalueindicatesthe presenceofaDDUontheotherend.ThestatuswordcanrepresenttheDDU BoardrevisionortheDDUFPGARevisionlevel.TheREVIDBitisusedto identifywhichofthetwowordsiscontainedinthefield. REVBit3Thisbitrepresentsbit3fortherevisionstatusword.Therear esevenbits (Port3,Bit3)availableforthestatusword.Avalueofallzeroesinthi sstatuswordindicates thepresenceofaDMIFontheotherend.Anon-zerovalueindicatesthe presenceofaDDUontheotherend.ThestatuswordcanrepresenttheDDU BoardrevisionortheDDUFPGARevisionlevel.TheREVIDBitisusedto identifywhichofthetwowordsiscontainedinthefield.

Table 5B. Detail of In-Band'18x'Status Messages (continued) Table 5C and 5D define the'19x'status messages. These status messages are returned to the DMIF on the same port's time slot in which the command was received. Individual or multiple bits may be asserted in the status messages depending on the conditions that are present within a DDU. (x)Definition StatusPrefix3 2 1 0 19x-Port0DDUEnabledPort0LoopedExpansionExpansion backResponse#2Response#1 19x-Port1GLINKLoopedPort1LoopedExpansionExpansion backbackResponse#4Response#3 19x-Port2ExpansionPort2LoopedExpansionExpansion Response#7backResponse#6Response#5 19x-Port3ExpansionPort 3LoopedExpansionExpansion Response#10backResponse#9Response #8

Table 5C. In-Band'19x'Status Messages COMMAND DEFINITION ExpansionResponse#1Thisbitisreservedasthestatusbitforthecorr espondingexpansion (Port0,Bit0)commandbitforthisport.Thedefaultconditionforthis bitisa'0'. ExpansionResponse#2Thisbitisreservedasthestatusbitforthecorr espondingexpansion (Port0,Bit1)commandbitforthisport.Thedefaultconditionforthis bitisa'0'. Port0LoopedBackThisbit,whenasserted,indicatesthatthisportisl oopedbackatthe (Port0,Bit2)HOTLINKchipset.Anydataforthisportthatisreceivedo nthe960 Mbit/sportisloopedthroughtheHOTLINKchipsetandtransmittedback tothesender(normallyDMIF)overthe960Mbit/sport.Thisbitis continuallyassertedforadditionalcommandsonthisportaslongasth e conditionpersists.ItisnormallysentinresponsetotheLoop-backPo rt0 commandbutcanalsobesentinresponsetotheSendStatuscommand.It isnegatedwhentheDDUispowercycled,manuallyreset,orwhenit receivesaRestartDDUorRemovePort0Loop-backcommand.The defaultconditionforthisbitisa'0'. DDUEnabledThisbit,whenasserted,indicatesthattheDDUisenabledt opassESCON (Port0,Bit3)trafficandthatits200Mbit/stransmittersareturnedo n.Itissentasa responsetotheEnableDDUcommand.Itremainsassertedforadditional responsesonthisportuntiltheDDUispowercycled,ismanuallyreset, receivesaDDURestartcommandorDDUDisablecommand.Once disserted,thisbitcanonlybeassertedbyanEnableDDUcommand. ExpansionResponse#3Thisbitisreservedasthestatusbitforthecorr espondingexpansion (Port1,Bit0)commandbitforthisport.Thedefaultconditionforthis bitisa'0'.

Table 5D. Detail of In-Band'19x'Status Messages COMMAND DEFINZTION ExpansionResponse#4Thisbitisreservedasthestatusbitforthecorr espondingexpansion (Port1,Bit1)commandbitforthisport.Thedefaultconditionforthis bitisa'0'. Port1LoopedBackThisbit,whenasserted,indicatesthatthisportisl oopedbackatthe (Port1,Bit2)HOTLINKchipset.Anydataforthisportthatisreceivedo nthe960 Mbit/sportisloopedthroughtheHOTLINKchipsetandtransmittedback tothesender(DMIF)overthe960Mbit/sport.Thisbitiscontinually assertedforadditionalcommandsonthisportaslongasthecondition persists.ItisnormallysentinresponsetotheLoop-backPort1comman d butcanalsobesentinresponsetotheSendStatuscommand.Itisnegated whentheDDUispowercycled,manuallyreset.orwhenitreceivesa RestartDDUorRemovePort1Loop-backcommand.Thedefault conditionforthisbitisa'0'. GLINKLoopedBackThisbit,whenasserted,indicatesthattheGLINKchi psetisloopedback (Port1,Bit3)withrespecttothe960Mbit/slink.Anydatathatisrecei vedonthislinkis loopedbacktothesender(normallyDMIF).Thisbitiscontinually assertedforadditionalcommandsonthisportaslongasthecondition persists.ItisnormallysentinresponsetotheLoop-backGLINK command.ItisnegatedwhentheDDUispowercycled,manuallyreset,or whenitreceivesaRestartDDUorRemoveGLINKLoop-backcommand. Thedefaultconditionforthisbitisa'0'. ExpansionResponse#5Thisbitisreservedasthestatusbitforthecorr espondingexpansion (Port2,Bit0)commandbitforthisport.Thedefaultconditionforthis bitisa'0'. ExpansionResponse #6Thisbitisreservedasthestatusbitforthecorrespondingexpansio n (Port2,Bit1)commandbitforthisport.Thedefaultconditionforthis bitisa'0'. Port2LoopedBackThisbit,whenasserted,indicatesthatthisportisl oopedbackatthe (Port2,Bit2)HOTLINKchipset.Anydataforthisportthatisreceivedo nthe960 Mbit/sportisloopedthroughtheHOTLINKchipsetandtransmittedback tothesender(DMIF)overthe960Mbit/sport.Thisbitiscontinually assertedforadditionalcommandsreceivedonthisportaslongasthe conditionpersists.ItisnormallysentinresponsetotheLoop-backPo rt2 commandbutcanalsobesentinresponsetotheSendStatuscommand.It isnegatedwhentheDDUispowercycled,manuallyreset,orwhenit receivesaRestartDDUorRemovePort2Loop-backcommand.The defaultconditionforthisbitisa'0'. ExpansionResponse#7Thisbitisreservedasthestatusbitforthecorr espondingexpansion (Port2,Bit3)commandbitforthisport.Thedefaultconditionforthis bitisa'0'. ExpansionResponse#8Thisbitisreservedasthestatusbitforthecorr espondingexpansion (Port3,Bit0)commandbitforthisport.Thedefaultconditionforthis bitisa'0'. ExpansionResponse#9Thisbitisreservedasthestatusbitforthecorr espondingexpansion (Port3,Bit1)commandforthisport.Thedefaultconditionforthisbit isa'0'. Port3LoopedBackThisbit,whenasserted,indicatesthatthisportisl oopedbackatthe (Port3,Bit2)HOTLINKchipset.Anydataforthisportthatisreceivedo nthe960 Mbit/sportisloopedthroughtheHOTLINKchipsetandtransmittedback tothesender(DMIF)overthe960Mbitlsport.Thisbitiscontinually assertedforadditionalcommandsonthisportaslongasthecondition persists.ItisnormallysentinresponsetotheLoop-backPort3comman d butcanalsobesentinresponsetotheSendStatuscommand.Itisnegated whentheDDUispowercycled,manuallyreset,orwhenitreceivesa RestartDDUorRemovePort3Loop-backcommand.Thedefault conditionforthisbitisa'0'. ExpansionResponse#10Thisbitisreservedasthestatusbitforthecor respondingexpansion (Port3,Bit3)commandbitforthisport.Thedefaultconditionforthis bitisa'0'.

Table 5D. Detail of In-Band'19x'Status Messages (continued) Fill Frames For"ESCON"links, sequences are used by devices at both ends of the link to advance to an activation state whereby both devices are synchronized. The DMIF modules

at both ends execute a similar process whereby both transceivers (for example, ser/des transmitter in DMIF module 34 and ser/des receiver in DMIF module 36) become synchronized with each other. This process involves passing fill frames between DMIF modules. Two levels of synchronization may occur when a link is being initialized. The first level is the ser/des transmitter and ser/des receiver synchronizing by using fill frames.

When this completes, data may be passed on the link. The second level is"ESCON" synchronization using"ESCON"protocol sequences. Although the link is already synchronized, this second level is needed to advance the"ESCON"Loss of Synchronization state machine to an Idle state (described later). The fill frame structure is shown in Table 6. FillFrame D-Field C-Field Type DO-D8 D9-D10 Dll-D19 CO-C3 0 111111111 10 000000000 0011 la 111111111 11 000000000 0011 lb 111111111 00 000000000 0011 Table 6. Fill Frame Structure Fill frame 0 and fill frame 1 are defined in greater detail in Table 7. FILLFRAMEDEFINITION FillFrame0(FFO)Thisframe,afteritsbeenserialized,isa50%dutycy clewaveform.Itissentafter theser/destransmitterhasbeeninitialized.Theser/desreceiverus esthisframeto determinethefrequencywithwhichitshouldbeoperating.Itdoesthis bylockingits recovered clocktothetransitionoftheframebetweenbitsD9andD10. FillFrame1(FF1)Thisframetogglesbetweentwotypesofwaveforms.It issimilartotheFFOframe exceptforthelocationofthetransitionfrom'1'sto'0's.Afteritsda tahasbeen serialized,itisasquarewavewherebythefirstwaveformadvancesthe fallingedge ofFFObyonebitandthesecondwaveformretardsthefallingedgeofFFOb yone bit.Thisframeissentbytheser/destransmitterduringlinkinitiali zationpriortothe linkreachingtheactivationstate.Theser/desreceiverusesthisfra metodetect phasedifferencesbetweenthedataandtherecoveredclock.Inorderto maintain synchronization,theser/desreceiveradjuststherecoveredclockac cordingtothe phasedifferences.

Table 7. Definition of Fill Frames It will be appreciated that other messages with different formats may be transmitted over the link between two DMIF modules. These messages, for example, other control and status messages, may be transmitted over the link in-band or in-line

with the"ESCON"messages. In-band or in-line message handling by the DMIF module allows information to be transferred over the same communications path or link such that an extra path between two channel directors is not necessary. Communication is transparent to the"ESCON"devices attached to a channel director at each end of a link.

Initialization procedure between two DMIF modules will now be described. Link initialization may occur whenever a ser/des receiver, for example, is reset. The reset may be executed when the DMIF module is powered on, the DMIF module's optical transceiver detects no light on the link, or if all of the"ESCON"ports detect a loss of synchronization due to parity errors or code violation errors. The reset initializes the state machine in the ser/des receiver, forcing it to state'0'. By sending specific signals (detailed below) between the ser/des receiver and ser/des transmitter, the advancement of the state machine to the active state is transparent to the rest of the "ESCON"system.

While in state 0, the ser/des transmitter transmits the FFO frame. Once the ser/des receiver recognizes that it is receiving the FFO frame, it advances the state machine to state 1 which enables the ser/des transmitter to transmit the FF1 frame. After the ser/des receiver detects the FF1 frame, it advances the state machine to state 2 and generates LINK READY. While in state 2, the ser/des transmitter transmits FF1 until ESCON data is ready to be sent.

An example of an initialization sequence between remote devices containing DMIF modules is shown in FIG. 7. As shown, DMIF module 60 of channel director 32 is linked to DMIF module 62 over optical link 61. DMIF module 62 of channel director 38 also communicates through four dedicated links 63 with control unit 64. The initialization sequence between DMIF module 60 and DMIF module 62 is generally designated as 66. The initialization sequence between DMIF module 62 and control unit 64 is generally designated as 68.

The sequences, as shown, progress from top to bottom in FIG. 7. DMIF module 60 initially transmits a fill frame (see Table 7) so that the ser/des transmitter may synchronize with the ser/des receiver in DMIF module 62. An NOP (not operational) is sent from DMIF module 62 to control unit 64 indicating that the DMIF is not operational.

This is normal"ESCON"traffic and represents the flow on all four links 63. DMIF module 62 then sends a fill frame to DMIF module 60. As already described, the fill frames synchronize the two DMIF modules with each other.

As normal"ESCON"traffic is flowing with messages indicating the NOP sequence, the DMIF modules transmit in-band messages (previously described). These are shown in FIG. 7 with the in-band message identified in parenthesis. For example, NOP (REQ BOARD REV) indicates a Request BOARD REV command transmitted within the NOP sequence. Accordingly, once DMIF module 60 recognizes that link 61 is synchronized (after fill frame messages), DMIF module 60 issues a Request BOARD REV in-band command to determine the identity of the external device. DMIF module 62 also issues a Request BOARD REV in-band command. Each DMIF module then responds with a DMIF REV, indicating that each is connected to a DMIF module. At this point, no further action is necessary and both DMIF modules are now on-line.

Normal"ESCON"data, designated generally as 69, may now be sent between remote devices by way of the DMIF modules. For example, FIG. 7 shows OFL (Offline Sequence), UD (Unconditional Disconnect Sequence), UDR (Unconditional Disconnect Response Sequence) and IDLE (Idle Sequence) sequentially transmitted between remote devices. It will be appreciated that commands and status messages sent between DMIF 60 and DMIF 62 are never seen by control unit 64, since they are replaced with NOP by the DMIF before passing them onto the control unit. In this manner, in-band messages are transparent to the control unit.

Another exemplary embodiment of in-band messages added to"ESCON" data is shown in FIG. 8 and an embodiment in which in-band messages are removed from "ESCON"data is shown in FIG. 9. As shown in FIG. 8, multiplexer 80 receives data from four"ESCON"ports of switch matrix 82. Data from the four ports are stored in respective buffers 84-87. Data path handlers 88-91 detect the presence of data from a respective port. Each data path handler also provides control and status interface between itself and processor 95. The interface is a thirty-two bit, interrupt driven interface that allows processor 95 to emulate the"ESCON"protocol. The emulation includes

establishing or breaking connection and monitoring status. The data path handlers are implemented in four XCS30-3 Xilinx Spartan FPGAs.

When a connection is made to pass data by a data path handler, the processor determines which port needs to be connected in the switch matrix. The program for processor 95 is loaded from memory 102 which is, for example, non-volatile memory. Processor 95 also provides the in-band message to in-band message generator 94, which in turn sends the in-band message to multiplexer 96 and multiplexer 97. As shown in FIG. 8, multiplexer 96 is coupled between multiplexer 92 and parity generator 99. Similarly, multiplexer 97 is coupled between multiplexer 93 and parity generator 100. The multiplexing of data from two ports each having a 200 megabit/sec rate into a serial data output from ser/des transmitter 101 having a 960 megabit/sec rate has already been described.

It will be appreciated that the data begins as 9 bits wide at the input to each multiplexer 92 and multiplexer 93,1 bit parity is added by parity generator 99 and parity generator 100 and 4 bits of control data are added by ser/des transmitter 101. Thus, a data frame consists of 24 bits of data. The data frame is illustrated in FIG. 10 as 9 bits of data (DO-D7 and a control/data (C/D) bit), a parity bit (P) and 4 bits for control (CO-C3).

Since 4 to 1 multiplexing is performed and ser/des transmitter 101 serializes the data, an effective output rate of 960 megabits/sec is produced 20. 0Mbytes lframe 24bits sec 2bytes lframe FIG. 11 illustrates multiplexing of data, for example, from four ports, (P0, P1, P2 and P3) by multiplexer 92 and multiplexer 93 (FIG. 8) into PO/P1 and P2/P3 data.

As described earlier, time tag generator 98 (FIG. 8) produces a time tag which is toggled to identify the ESCON port in the 10 bit stream. The time tag signal has two phases, a first phase ("0") and a second phase ("1"). When a"0"is transmitted to ser/des transmitter 101 (FIG. 8), for example, the data frame may contain data from ports PO and P2; when a"1"is transmitted, for example, the data frame may contain data from ports P1 and P3. In this manner, data from four ports may be multiplexed in one time tag cycle.

FIG. 9 shows the inverse process illustrated in FIG. 8. As shown, demultiplexer 120 receives serialized data from an optical transceiver (not shown) and ser/des receiver 122. Receiver 122 converts the incoming message having a data rate of 960 megabits/sec into two separate 10 bit wide parallel lines, each coupled to parity checker 123 and 124, respectively. Parity checkers 123 and 124 each verify parity and provide a 9 bit wide word to demultiplexer 125 and 127, respectively. Processor 95 and message decoder 126 decode the in-band message for control and status information.

After synchronization and recovery of the serial clock by ser/des receiver 122, a time tag signal is provided to time tag generator 135, which in turn provides the time tag to demultiplexers 128 and 129. By maintaining proper phase with the time tag signal, demultiplexers 128 and 129 demultiplex the data into four"ESCON"data words, each 9 bits wide. Data path handlers 88-91 receive the four"ESCON"data words and provide the same to buffers 130-133. Data are then sent to"ESCON"ports PO, Pl, P2 and P3 by way of switch matrix 82.