PM5358 S/UNI-4x622 Driver Manual
Proprietary and Confidential to PMC-Sierra, Inc. 4
Document ID: PMC-2010419, Issue 1
TABLE OF CONTENTS
About this Manual and S/UNI-4x622...................................................................................2
Audience....................................................................................................................2
References ................................................................................................................2
Revision History.........................................................................................................2
Legal Issues...............................................................................................................3
Contacting PMC-Sierra..............................................................................................3
Table of Contents.................................................................................................................4
List of Figures....................................................................................................................10
List of Tables......................................................................................................................11
1 Introduction .................................................................................................................13
2 Software Architecture..................................................................................................14
2.1 Driver External Interfaces ...........................................................................................14
Application Programming Interface .........................................................................14
Real-Time OS Interface ...........................................................................................15
Hardware Interface ..................................................................................................15
2.2 Main Components.......................................................................................................15
Module Data-Block and Device(s) Data-Blocks ......................................................16
Interrupt-Service Routine.........................................................................................17
Deferred-Processing Routine ..................................................................................17
Alarms, Status and Counts ......................................................................................17
Section Overhead....................................................................................................18
Line Overhead .........................................................................................................18
Path Overhead.........................................................................................................18
Payload Processor...................................................................................................18
Interface Configuration ............................................................................................18
APS Configuration ...................................................................................................18
2.3 Software States...........................................................................................................19
Module States..........................................................................................................20
Device States...........................................................................................................20
2.4 Processing Flows........................................................................................................21
Module Management...............................................................................................21
Device Management................................................................................................21
2.5 Interrupt Servicing.......................................................................................................22
Calling suni4x622ISR ..............................................................................................23
Calling suni4x622DPR.............................................................................................24
Calling suni4x622Poll ..............................................................................................24
3 Data Structures ...........................................................................................................26
3.1 Constants....................................................................................................................26