1139749Simp/*- 2126177Srik * Level One LXT318 E1 transceiver registers. 3126177Srik * Crystal CS61318 E1 Line Interface Unit registers. 4126177Srik * Crystal CS61581 T1/E1 Line Interface Unit registers. 5126177Srik * 6126177Srik * Copyright (C) 1996 Cronyx Engineering. 7126177Srik * Author: Serge Vakulenko, <vak@cronyx.ru> 8126177Srik * 9126177Srik * Copyright (C) 2003 Cronyx Engineering. 10126177Srik * Author: Roman Kurakin, <rik@cronyx.ru> 11126177Srik * 12126177Srik * This software is distributed with NO WARRANTIES, not even the implied 13126177Srik * warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14126177Srik * 15126177Srik * Authors grant any other persons or organisations permission to use 16126177Srik * or modify this software as long as this message is kept with the software, 17126177Srik * all derivative works or modified versions. 18126177Srik * 19126177Srik * Cronyx Id: lxt318.h,v 1.2.4.4 2003/11/14 19:08:45 rik Exp $ 20126177Srik * $FreeBSD$ 21126177Srik */ 22126177Srik 23126177Srik#define LX_WRITE 0x00 24126177Srik#define LX_READ 0x01 25126177Srik 26126177Srik#define LX_CCR1 0x10 27126177Srik#define LX_CCR2 0x11 /* CS61318 */ 28126177Srik#define LX_EQGAIN 0x12 /* CS61318 */ 29126177Srik#define LX_RAM 0x13 /* CS61318 */ 30126177Srik#define LX_CCR3 0x14 /* CS61581 */ 31126177Srik#define LX_DPEC 0x15 /* CS61581 */ 32126177Srik 33126177Srik#define LX_LOS 0x01 /* loss of signal condition */ 34126177Srik#define LX_HDB3 0x04 /* HDB3 encoding enable */ 35126177Srik#define LX_RLOOP 0x20 /* remote loopback */ 36126177Srik#define LX_LLOOP 0x40 /* local loopback */ 37126177Srik#define LX_TAOS 0x80 /* transmit all ones */ 38126177Srik 39126177Srik#define LX_RESET (LX_RLOOP | LX_LLOOP) /* reset the chip */ 40126177Srik 41126177Srik#define LX_CCR2_LH 0x00 /* Long Haul mode */ 42126177Srik#define LX_CCR2_SH 0x01 /* Long Haul mode */ 43126177Srik 44126177Srik#define LX_CCR3_E1_LH 0x60 /* Long Haul mode */ 45