/* MCT is reg 5 */ #define SUNI_MCT_LOOPT 0x01 /* RW, timing source, 0: from
TRCLK+/- */ #define SUNI_MCT_DLE 0x02 /* RW, diagnostic loopback */ #define SUNI_MCT_LLE 0x04 /* RW, line loopback */ #define SUNI_MCT_FIXPTR 0x20 /* RW, disable transmit payload pointer adjustments 0: payload ptr controlled by TPOP ptr control reg
1: payload pointer fixed at 522 */ #define SUNI_MCT_LCDV 0x40 /* R, loss of cell delineation */ #define SUNI_MCT_LCDE 0x80 /* RW, loss of cell delineation
interrupt (1: on) */ /* RSOP_CIE is reg 0x10 */ #define SUNI_RSOP_CIE_OOFE 0x01 /* RW, enable interrupt on frame alarm
state change */ #define SUNI_RSOP_CIE_LOFE 0x02 /* RW, enable interrupt on loss of
frame state change */ #define SUNI_RSOP_CIE_LOSE 0x04 /* RW, enable interrupt on loss of
signal state change */ #define SUNI_RSOP_CIE_BIPEE 0x08 /* RW, enable interrupt on section
BIP-8 error (B1) */ #define SUNI_RSOP_CIE_FOOF 0x20 /* W, force RSOP out of frame at next
boundary */ #define SUNI_RSOP_CIE_DDS 0x40 /* RW, disable scrambling */
/* RSOP_SIS is reg 0x11 */ #define SUNI_RSOP_SIS_OOFV 0x01 /* R, out of frame */ #define SUNI_RSOP_SIS_LOFV 0x02 /* R, loss of frame */ #define SUNI_RSOP_SIS_LOSV 0x04 /* R, loss of signal */ #define SUNI_RSOP_SIS_OOFI 0x08 /* R, out of frame interrupt */ #define SUNI_RSOP_SIS_LOFI 0x10 /* R, loss of frame interrupt */ #define SUNI_RSOP_SIS_LOSI 0x20 /* R, loss of signal interrupt */ #define SUNI_RSOP_SIS_BIPEI 0x40 /* R, section BIP-8 interrupt */
/* TSOP_DIAG is reg 0x15 */ #define SUNI_TSOP_DIAG_DFP 0x01 /* insert single bit error cont. */ #define SUNI_TSOP_DIAG_DBIP8 0x02 /* insert section BIP err (cont) */ #define SUNI_TSOP_DIAG_DLOS 0x04 /* set line to zero (loss of signal) */
/* TLOP_DIAG is reg 0x21 */ #define SUNI_TLOP_DIAG_DBIP 0x01 /* insert line BIP err (continuously) */
/* SSTB_CTRL is reg 0x28 */ #define SUNI_SSTB_CTRL_LEN16 0x01 /* path trace message length bit */
/* RPOP_RC is reg 0x3D (PM5355) */ #define SUNI_RPOP_RC_ENSS 0x40 /* enable size bit */
/* MT is reg 0x80 */ #define SUNI_MT_HIZIO 0x01 /* RW, all but data bus & MP interface
tri-state */ #define SUNI_MT_HIZDATA 0x02 /* W, also tri-state data bus */ #define SUNI_MT_IOTST 0x04 /* RW, enable test mode */ #define SUNI_MT_DBCTRL 0x08 /* W, control data bus by CSB pin */ #define SUNI_MT_PMCTST 0x10 /* W, PMC test mode */ #define SUNI_MT_DS27_53 0x80 /* RW, select between 8- or 16- bit */
#define SUNI_IDLE_PATTERN 0x6a /* idle pattern */
#ifdef __KERNEL__ struct suni_priv { struct k_sonet_stats sonet_stats; /* link diagnostics */ int loop_mode; /* loopback mode */ int type; /* phy type */ struct atm_dev *dev; /* device back-pointer */ struct suni_priv *next; /* next SUNI */
};
int suni_init(struct atm_dev *dev); #endif
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.