Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
libsbew.h File Reference

Go to the source code of this file.

Data Structures

struct  sbe_drv_info
 
struct  sbe_brd_info
 
struct  sbe_iid_info
 
struct  sbe_brd_addr
 
struct  sbecom_wrt_vec
 
struct  sbecom_port_param
 
struct  sbecom_chan_param
 
struct  sbecom_chan_stats
 
struct  sbecom_card_param
 
struct  sbecom_framer_param
 
struct  temux_card_stats
 
struct  temux_card_stats::temux_stats
 
struct  wancfg
 

Macros

#define LOG_NONE   0
 
#define LOG_ERROR   1
 
#define LOG_SBEBUG3   3 /* hidden, for development/debug usage */
 
#define LOG_LSCHANGE   5 /* line state change logging */
 
#define LOG_LSIMMEDIATE   6 /* line state change logging w/o hysterisis */
 
#define LOG_WARN   8
 
#define LOG_MONITOR   10
 
#define LOG_SBEBUG12   12 /* hidden, for development/debug usage */
 
#define LOG_MONITOR2   14 /* hidden, for development/debug usage */
 
#define LOG_DEBUG   16
 
#define c4_LOG_NONE   LOG_NONE
 
#define c4_LOG_ERROR   LOG_ERROR
 
#define c4_LOG_WARN   LOG_WARN
 
#define c4_LOG_sTrace
 
#define c4_LOG_DEBUG   LOG_DEBUG
 
#define c4_LOG_MAX   LOG_DEBUG
 
#define REL_STRLEN   80
 
#define CHNM_STRLEN   16
 
#define PCI_VENDOR_ID_SBE   0x1176
 
#define PCI_DEVICE_ID_WANPMC_C4T1E1   0x0701 /* BID 0x0X, BTYP 0x0X */
 
#define PCI_DEVICE_ID_WANPTMC_C4T1E1   0x0702 /* BID 0x41 */
 
#define PCI_DEVICE_ID_WANADAPT_HC4T1E1   0x0703 /* BID 0x44 */
 
#define PCI_DEVICE_ID_WANPTMC_256T3_T1   0x0704 /* BID 0x42 (T1 Version) */
 
#define PCI_DEVICE_ID_WANPCI_C4T1E1   0x0705 /* BID 0x1X, BTYP 0x0X */
 
#define PCI_DEVICE_ID_WANPMC_C1T3   0x0706 /* BID 0x45 */
 
#define PCI_DEVICE_ID_WANPCI_C2T1E1   0x0707 /* BID 0x1X, BTYP 0x2X */
 
#define PCI_DEVICE_ID_WANPCI_C1T1E1   0x0708 /* BID 0x1X, BTYP 0x1X */
 
#define PCI_DEVICE_ID_WANPMC_C2T1E1   0x0709 /* BID 0x0X, BTYP 0x2X */
 
#define PCI_DEVICE_ID_WANPMC_C1T1E1   0x070A /* BID 0x0X, BTYP 0x1X */
 
#define PCI_DEVICE_ID_WANPTMC_256T3_E1   0x070B /* BID 0x46 (E1 Version) */
 
#define PCI_DEVICE_ID_WANPTMC_C24TE1   0x070C /* BID 0x47 */
 
#define PCI_DEVICE_ID_WANPMC_C4T1E1_L
 
#define PCI_DEVICE_ID_WANPMC_C2T1E1_L
 
#define PCI_DEVICE_ID_WANPMC_C1T1E1_L
 
#define PCI_DEVICE_ID_WANPMC_2SSI   0x0801
 
#define PCI_DEVICE_ID_WANPCI_4SSI   0x0802
 
#define PCI_DEVICE_ID_WANPMC_2T3E3   0x0900 /* BID 0x43 */
 
#define SBE_BOARD_ID(v, id)   ((v<<16) | id)
 
#define BINFO_PCI_SPEED_unk   0
 
#define BINFO_PCI_SPEED_33   1
 
#define BINFO_PCI_SPEED_66   2
 
#define BRDADDR_SIZE_64   1
 
#define BRDADDR_SIZE_32   2
 
#define C1T3_CHIP_MSCC_32   0x01000000
 
#define C1T3_CHIP_TECT3_8   0x02000000
 
#define C1T3_CHIP_CPLD_8   0x03000000
 
#define C1T3_CHIP_EEPROM_8   0x04000000
 
#define W256T3_CHIP_MUSYCC_32   0x02000000
 
#define W256T3_CHIP_TEMUX_8   0x10000000
 
#define W256T3_CHIP_T8110_8   0x20000000
 
#define W256T3_CHIP_T8110_32   0x22000000
 
#define W256T3_CHIP_CPLD_8   0x30000000
 
#define W256T3_CHIP_EEPROM_8   0x40000000
 
#define CFG_CLK_PORT_MASK   0x80 /* Loop timing */
 
#define CFG_CLK_PORT_INTERNAL   0x80 /* Loop timing */
 
#define CFG_CLK_PORT_EXTERNAL   0x00 /* Loop timing */
 
#define CFG_LBO_MASK   0x0F
 
#define CFG_LBO_unk   0 /* <not defined> */
 
#define CFG_LBO_LH0   1 /* T1 Long Haul (default) */
 
#define CFG_LBO_LH7_5   2 /* T1 Long Haul */
 
#define CFG_LBO_LH15   3 /* T1 Long Haul */
 
#define CFG_LBO_LH22_5   4 /* T1 Long Haul */
 
#define CFG_LBO_SH110   5 /* T1 Short Haul */
 
#define CFG_LBO_SH220   6 /* T1 Short Haul */
 
#define CFG_LBO_SH330   7 /* T1 Short Haul */
 
#define CFG_LBO_SH440   8 /* T1 Short Haul */
 
#define CFG_LBO_SH550   9 /* T1 Short Haul */
 
#define CFG_LBO_SH660   10 /* T1 Short Haul */
 
#define CFG_LBO_E75   11 /* E1 75 Ohm */
 
#define CFG_LBO_E120   12 /* E1 120 Ohm (default) */
 
#define SS7_INTR_SFILT   0x00000020
 
#define SS7_INTR_SDEC   0x00000040
 
#define SS7_INTR_SINC   0x00000080
 
#define SS7_INTR_SUERR   0x00000100
 
#define INTR_BUFF   0x00000002
 
#define INTR_EOM   0x00000004
 
#define INTR_MSG   0x00000008
 
#define INTR_IDLE   0x00000010
 
#define TX_ENABLED   0x01
 
#define RX_ENABLED   0x02
 
#define CFG_CH_PROTO_TRANS   0
 
#define CFG_CH_PROTO_SS7   1
 
#define CFG_CH_PROTO_HDLC_FCS16   2
 
#define CFG_CH_PROTO_HDLC_FCS32   3
 
#define CFG_CH_PROTO_ISLP_MODE   4
 
#define CFG_CH_FLAG_7E   0
 
#define CFG_CH_FLAG_FF   1
 
#define CFG_CH_FLAG_00   2
 
#define CFG_CH_DINV_NONE   0x00
 
#define CFG_CH_DINV_RX   0x01
 
#define CFG_CH_DINV_TX   0x02
 
#define RESET_DEV_TEMUX   1
 
#define RESET_DEV_TECT3   RESET_DEV_TEMUX
 
#define RESET_DEV_PLL   2
 
#define FRAMING_M13   0
 
#define FRAMING_CBP   1
 
#define CFG_CARD_LOOPBACK_NONE   0x00
 
#define CFG_CARD_LOOPBACK_DIAG   0x01
 
#define CFG_CARD_LOOPBACK_LINE   0x02
 
#define CFG_CARD_LOOPBACK_PAYLOAD   0x03
 
#define CFG_LIU_LOOPBACK_NONE   0x00
 
#define CFG_LIU_LOOPBACK_ANALOG   0x10
 
#define CFG_LIU_LOOPBACK_DIGITAL   0x11
 
#define CFG_LIU_LOOPBACK_REMOTE   0x12
 
#define CFG_CLK_INTERNAL   0x00
 
#define CFG_CLK_EXTERNAL   0x01
 
#define LOOPBACK_NONE   0
 
#define LOOPBACK_LIU_ANALOG   1
 
#define LOOPBACK_LIU_DIGITAL   2
 
#define LOOPBACK_FRAMER_DS3   3
 
#define LOOPBACK_FRAMER_T1   4
 
#define LOOPBACK_LIU_REMOTE   5
 
#define CFG_DS1_MODE_MASK   0x0f
 
#define CFG_DS1_MODE_T1   0x00
 
#define CFG_DS1_MODE_E1   0x01
 
#define CFG_DS1_MODE_CHANGE   0x80
 
#define CFG_DS3_UNCHAN_MASK   0x01
 
#define CFG_DS3_UNCHAN_OFF   0x00
 
#define CFG_DS3_UNCHAN_ON   0x01
 
#define CFG_FRAME_NONE   0
 
#define CFG_FRAME_SF   1 /* T1 B8ZS */
 
#define CFG_FRAME_ESF   2 /* T1 B8ZS */
 
#define CFG_FRAME_E1PLAIN   3 /* HDB3 w/o CAS,CRC */
 
#define CFG_FRAME_E1CAS   4 /* HDB3 */
 
#define CFG_FRAME_E1CRC   5 /* HDB3 */
 
#define CFG_FRAME_E1CRC_CAS   6 /* HDB3 */
 
#define CFG_FRAME_SF_AMI   7 /* T1 AMI */
 
#define CFG_FRAME_ESF_AMI   8 /* T1 AMI */
 
#define CFG_FRAME_E1PLAIN_AMI   9 /* E1 AMI w/o CAS,CRC */
 
#define CFG_FRAME_E1CAS_AMI   10 /* E1 AMI */
 
#define CFG_FRAME_E1CRC_AMI   11 /* E1 AMI */
 
#define CFG_FRAME_E1CRC_CAS_AMI   12 /* E1 AMI */
 
#define IS_FRAME_ANY_T1(field)
 
#define IS_FRAME_ANY_T1ESF(field)
 
#define IS_FRAME_ANY_E1(field)
 
#define IS_FRAME_ANY_AMI(field)
 
#define CFG_FRMR_LOOPBACK_NONE   0
 
#define CFG_FRMR_LOOPBACK_DIAG   1
 
#define CFG_FRMR_LOOPBACK_LINE   2
 
#define CFG_FRMR_LOOPBACK_PAYLOAD   3
 

Typedefs

typedef struct wancfg wcfg_t
 

Functions

wcfg_twancfg_init (char *, char *)
 
int wancfg_card_blink (wcfg_t *, int)
 
int wancfg_ctl (wcfg_t *, int, void *, int, void *, int)
 
int wancfg_del_card_stats (wcfg_t *)
 
int wancfg_del_chan_stats (wcfg_t *, int)
 
int wancfg_enable_ports (wcfg_t *, int)
 
int wancfg_free (wcfg_t *)
 
int wancfg_get_brdaddr (wcfg_t *, struct sbe_brd_addr *)
 
int wancfg_get_brdinfo (wcfg_t *, struct sbe_brd_info *)
 
int wancfg_get_card (wcfg_t *, struct sbecom_card_param *)
 
int wancfg_get_card_chan_stats (wcfg_t *, struct sbecom_chan_stats *)
 
int wancfg_get_card_sn (wcfg_t *)
 
int wancfg_get_card_stats (wcfg_t *, struct temux_card_stats *)
 
int wancfg_get_chan (wcfg_t *, int, struct sbecom_chan_param *)
 
int wancfg_get_chan_stats (wcfg_t *, int, struct sbecom_chan_stats *)
 
int wancfg_get_drvinfo (wcfg_t *, int, struct sbe_drv_info *)
 
int wancfg_get_framer (wcfg_t *, int, struct sbecom_framer_param *)
 
int wancfg_get_iid (wcfg_t *, int, struct sbe_iid_info *)
 
int wancfg_get_sn (wcfg_t *, unsigned int *)
 
int wancfg_read (wcfg_t *, int, struct sbecom_wrt_vec *)
 
int wancfg_reset_device (wcfg_t *, int)
 
int wancfg_set_card (wcfg_t *, struct sbecom_card_param *)
 
int wancfg_set_chan (wcfg_t *, int, struct sbecom_chan_param *)
 
int wancfg_set_framer (wcfg_t *, int, struct sbecom_framer_param *)
 
int wancfg_set_loglevel (wcfg_t *, uint)
 
int wancfg_write (wcfg_t *, int, struct sbecom_wrt_vec *)
 

Macro Definition Documentation

#define BINFO_PCI_SPEED_33   1

Definition at line 116 of file libsbew.h.

#define BINFO_PCI_SPEED_66   2

Definition at line 117 of file libsbew.h.

#define BINFO_PCI_SPEED_unk   0

Definition at line 115 of file libsbew.h.

#define BRDADDR_SIZE_32   2

Definition at line 144 of file libsbew.h.

#define BRDADDR_SIZE_64   1

Definition at line 143 of file libsbew.h.

#define C1T3_CHIP_CPLD_8   0x03000000

Definition at line 175 of file libsbew.h.

#define C1T3_CHIP_EEPROM_8   0x04000000

Definition at line 176 of file libsbew.h.

#define C1T3_CHIP_MSCC_32   0x01000000

Definition at line 173 of file libsbew.h.

#define C1T3_CHIP_TECT3_8   0x02000000

Definition at line 174 of file libsbew.h.

#define c4_LOG_DEBUG   LOG_DEBUG

Definition at line 48 of file libsbew.h.

#define c4_LOG_ERROR   LOG_ERROR

Definition at line 45 of file libsbew.h.

#define c4_LOG_MAX   LOG_DEBUG

Definition at line 49 of file libsbew.h.

#define c4_LOG_NONE   LOG_NONE

Definition at line 44 of file libsbew.h.

#define c4_LOG_sTrace
Value:
LOG_MONITOR /* do some trace logging into
* functions */

Definition at line 47 of file libsbew.h.

#define c4_LOG_WARN   LOG_WARN

Definition at line 46 of file libsbew.h.

#define CFG_CARD_LOOPBACK_DIAG   0x01

Definition at line 370 of file libsbew.h.

#define CFG_CARD_LOOPBACK_LINE   0x02

Definition at line 371 of file libsbew.h.

#define CFG_CARD_LOOPBACK_NONE   0x00

Definition at line 369 of file libsbew.h.

#define CFG_CARD_LOOPBACK_PAYLOAD   0x03

Definition at line 372 of file libsbew.h.

#define CFG_CH_DINV_NONE   0x00

Definition at line 289 of file libsbew.h.

#define CFG_CH_DINV_RX   0x01

Definition at line 290 of file libsbew.h.

#define CFG_CH_DINV_TX   0x02

Definition at line 291 of file libsbew.h.

#define CFG_CH_FLAG_00   2

Definition at line 286 of file libsbew.h.

#define CFG_CH_FLAG_7E   0

Definition at line 284 of file libsbew.h.

#define CFG_CH_FLAG_FF   1

Definition at line 285 of file libsbew.h.

#define CFG_CH_PROTO_HDLC_FCS16   2

Definition at line 279 of file libsbew.h.

#define CFG_CH_PROTO_HDLC_FCS32   3

Definition at line 280 of file libsbew.h.

#define CFG_CH_PROTO_ISLP_MODE   4

Definition at line 281 of file libsbew.h.

#define CFG_CH_PROTO_SS7   1

Definition at line 278 of file libsbew.h.

#define CFG_CH_PROTO_TRANS   0

Definition at line 277 of file libsbew.h.

#define CFG_CLK_EXTERNAL   0x01

Definition at line 382 of file libsbew.h.

#define CFG_CLK_INTERNAL   0x00

Definition at line 381 of file libsbew.h.

#define CFG_CLK_PORT_EXTERNAL   0x00 /* Loop timing */

Definition at line 212 of file libsbew.h.

#define CFG_CLK_PORT_INTERNAL   0x80 /* Loop timing */

Definition at line 211 of file libsbew.h.

#define CFG_CLK_PORT_MASK   0x80 /* Loop timing */

Definition at line 210 of file libsbew.h.

#define CFG_DS1_MODE_CHANGE   0x80

Definition at line 396 of file libsbew.h.

#define CFG_DS1_MODE_E1   0x01

Definition at line 395 of file libsbew.h.

#define CFG_DS1_MODE_MASK   0x0f

Definition at line 393 of file libsbew.h.

#define CFG_DS1_MODE_T1   0x00

Definition at line 394 of file libsbew.h.

#define CFG_DS3_UNCHAN_MASK   0x01

Definition at line 399 of file libsbew.h.

#define CFG_DS3_UNCHAN_OFF   0x00

Definition at line 400 of file libsbew.h.

#define CFG_DS3_UNCHAN_ON   0x01

Definition at line 401 of file libsbew.h.

#define CFG_FRAME_E1CAS   4 /* HDB3 */

Definition at line 426 of file libsbew.h.

#define CFG_FRAME_E1CAS_AMI   10 /* E1 AMI */

Definition at line 432 of file libsbew.h.

#define CFG_FRAME_E1CRC   5 /* HDB3 */

Definition at line 427 of file libsbew.h.

#define CFG_FRAME_E1CRC_AMI   11 /* E1 AMI */

Definition at line 433 of file libsbew.h.

#define CFG_FRAME_E1CRC_CAS   6 /* HDB3 */

Definition at line 428 of file libsbew.h.

#define CFG_FRAME_E1CRC_CAS_AMI   12 /* E1 AMI */

Definition at line 434 of file libsbew.h.

#define CFG_FRAME_E1PLAIN   3 /* HDB3 w/o CAS,CRC */

Definition at line 425 of file libsbew.h.

#define CFG_FRAME_E1PLAIN_AMI   9 /* E1 AMI w/o CAS,CRC */

Definition at line 431 of file libsbew.h.

#define CFG_FRAME_ESF   2 /* T1 B8ZS */

Definition at line 424 of file libsbew.h.

#define CFG_FRAME_ESF_AMI   8 /* T1 AMI */

Definition at line 430 of file libsbew.h.

#define CFG_FRAME_NONE   0

Definition at line 422 of file libsbew.h.

#define CFG_FRAME_SF   1 /* T1 B8ZS */

Definition at line 423 of file libsbew.h.

#define CFG_FRAME_SF_AMI   7 /* T1 AMI */

Definition at line 429 of file libsbew.h.

#define CFG_FRMR_LOOPBACK_DIAG   1

Definition at line 467 of file libsbew.h.

#define CFG_FRMR_LOOPBACK_LINE   2

Definition at line 468 of file libsbew.h.

#define CFG_FRMR_LOOPBACK_NONE   0

Definition at line 466 of file libsbew.h.

#define CFG_FRMR_LOOPBACK_PAYLOAD   3

Definition at line 469 of file libsbew.h.

#define CFG_LBO_E120   12 /* E1 120 Ohm (default) */

Definition at line 227 of file libsbew.h.

#define CFG_LBO_E75   11 /* E1 75 Ohm */

Definition at line 226 of file libsbew.h.

#define CFG_LBO_LH0   1 /* T1 Long Haul (default) */

Definition at line 216 of file libsbew.h.

#define CFG_LBO_LH15   3 /* T1 Long Haul */

Definition at line 218 of file libsbew.h.

#define CFG_LBO_LH22_5   4 /* T1 Long Haul */

Definition at line 219 of file libsbew.h.

#define CFG_LBO_LH7_5   2 /* T1 Long Haul */

Definition at line 217 of file libsbew.h.

#define CFG_LBO_MASK   0x0F

Definition at line 214 of file libsbew.h.

#define CFG_LBO_SH110   5 /* T1 Short Haul */

Definition at line 220 of file libsbew.h.

#define CFG_LBO_SH220   6 /* T1 Short Haul */

Definition at line 221 of file libsbew.h.

#define CFG_LBO_SH330   7 /* T1 Short Haul */

Definition at line 222 of file libsbew.h.

#define CFG_LBO_SH440   8 /* T1 Short Haul */

Definition at line 223 of file libsbew.h.

#define CFG_LBO_SH550   9 /* T1 Short Haul */

Definition at line 224 of file libsbew.h.

#define CFG_LBO_SH660   10 /* T1 Short Haul */

Definition at line 225 of file libsbew.h.

#define CFG_LBO_unk   0 /* <not defined> */

Definition at line 215 of file libsbew.h.

#define CFG_LIU_LOOPBACK_ANALOG   0x10

Definition at line 376 of file libsbew.h.

#define CFG_LIU_LOOPBACK_DIGITAL   0x11

Definition at line 377 of file libsbew.h.

#define CFG_LIU_LOOPBACK_NONE   0x00

Definition at line 375 of file libsbew.h.

#define CFG_LIU_LOOPBACK_REMOTE   0x12

Definition at line 378 of file libsbew.h.

#define CHNM_STRLEN   16

get board information

Definition at line 73 of file libsbew.h.

#define FRAMING_CBP   1

Definition at line 366 of file libsbew.h.

#define FRAMING_M13   0

Definition at line 365 of file libsbew.h.

#define INTR_BUFF   0x00000002

Definition at line 267 of file libsbew.h.

#define INTR_EOM   0x00000004

Definition at line 268 of file libsbew.h.

#define INTR_IDLE   0x00000010

Definition at line 270 of file libsbew.h.

#define INTR_MSG   0x00000008

Definition at line 269 of file libsbew.h.

#define IS_FRAME_ANY_AMI (   field)
Value:

Definition at line 457 of file libsbew.h.

#define IS_FRAME_ANY_E1 (   field)
Value:

Definition at line 447 of file libsbew.h.

#define IS_FRAME_ANY_T1 (   field)
Value:
(((field) == CFG_FRAME_NONE) || \
((field) == CFG_FRAME_SF) || \
((field) == CFG_FRAME_ESF) || \
((field) == CFG_FRAME_SF_AMI) || \

Definition at line 436 of file libsbew.h.

#define IS_FRAME_ANY_T1ESF (   field)
Value:

Definition at line 443 of file libsbew.h.

#define LOG_DEBUG   16

Definition at line 41 of file libsbew.h.

#define LOG_ERROR   1

Definition at line 33 of file libsbew.h.

#define LOG_LSCHANGE   5 /* line state change logging */

Definition at line 35 of file libsbew.h.

#define LOG_LSIMMEDIATE   6 /* line state change logging w/o hysterisis */

Definition at line 36 of file libsbew.h.

#define LOG_MONITOR   10

Definition at line 38 of file libsbew.h.

#define LOG_MONITOR2   14 /* hidden, for development/debug usage */

Definition at line 40 of file libsbew.h.

#define LOG_NONE   0

set driver logging level

Definition at line 32 of file libsbew.h.

#define LOG_SBEBUG12   12 /* hidden, for development/debug usage */

Definition at line 39 of file libsbew.h.

#define LOG_SBEBUG3   3 /* hidden, for development/debug usage */

Definition at line 34 of file libsbew.h.

#define LOG_WARN   8

Definition at line 37 of file libsbew.h.

#define LOOPBACK_FRAMER_DS3   3

Definition at line 388 of file libsbew.h.

#define LOOPBACK_FRAMER_T1   4

Definition at line 389 of file libsbew.h.

#define LOOPBACK_LIU_ANALOG   1

Definition at line 386 of file libsbew.h.

#define LOOPBACK_LIU_DIGITAL   2

Definition at line 387 of file libsbew.h.

#define LOOPBACK_LIU_REMOTE   5

Definition at line 390 of file libsbew.h.

#define LOOPBACK_NONE   0

Definition at line 385 of file libsbew.h.

#define PCI_DEVICE_ID_WANADAPT_HC4T1E1   0x0703 /* BID 0x44 */

Definition at line 97 of file libsbew.h.

#define PCI_DEVICE_ID_WANPCI_4SSI   0x0802

Definition at line 111 of file libsbew.h.

#define PCI_DEVICE_ID_WANPCI_C1T1E1   0x0708 /* BID 0x1X, BTYP 0x1X */

Definition at line 102 of file libsbew.h.

#define PCI_DEVICE_ID_WANPCI_C2T1E1   0x0707 /* BID 0x1X, BTYP 0x2X */

Definition at line 101 of file libsbew.h.

#define PCI_DEVICE_ID_WANPCI_C4T1E1   0x0705 /* BID 0x1X, BTYP 0x0X */

Definition at line 99 of file libsbew.h.

#define PCI_DEVICE_ID_WANPMC_2SSI   0x0801

Definition at line 110 of file libsbew.h.

#define PCI_DEVICE_ID_WANPMC_2T3E3   0x0900 /* BID 0x43 */

Definition at line 112 of file libsbew.h.

#define PCI_DEVICE_ID_WANPMC_C1T1E1   0x070A /* BID 0x0X, BTYP 0x1X */

Definition at line 104 of file libsbew.h.

#define PCI_DEVICE_ID_WANPMC_C1T1E1_L
Value:
0x070F /* BID 0x2X, BTYPE 0x1X w/FP
* LEDs */

Definition at line 109 of file libsbew.h.

#define PCI_DEVICE_ID_WANPMC_C1T3   0x0706 /* BID 0x45 */

Definition at line 100 of file libsbew.h.

#define PCI_DEVICE_ID_WANPMC_C2T1E1   0x0709 /* BID 0x0X, BTYP 0x2X */

Definition at line 103 of file libsbew.h.

#define PCI_DEVICE_ID_WANPMC_C2T1E1_L
Value:
0x070E /* BID 0x2X, BTYPE 0x2X w/FP
* LEDs */

Definition at line 108 of file libsbew.h.

#define PCI_DEVICE_ID_WANPMC_C4T1E1   0x0701 /* BID 0x0X, BTYP 0x0X */

Definition at line 95 of file libsbew.h.

#define PCI_DEVICE_ID_WANPMC_C4T1E1_L
Value:
0x070D /* BID 0x2X, BTYPE 0x0X w/FP
* LEDs */

Definition at line 107 of file libsbew.h.

#define PCI_DEVICE_ID_WANPTMC_256T3_E1   0x070B /* BID 0x46 (E1 Version) */

Definition at line 105 of file libsbew.h.

#define PCI_DEVICE_ID_WANPTMC_256T3_T1   0x0704 /* BID 0x42 (T1 Version) */

Definition at line 98 of file libsbew.h.

#define PCI_DEVICE_ID_WANPTMC_C24TE1   0x070C /* BID 0x47 */

Definition at line 106 of file libsbew.h.

#define PCI_DEVICE_ID_WANPTMC_C4T1E1   0x0702 /* BID 0x41 */

Definition at line 96 of file libsbew.h.

#define PCI_VENDOR_ID_SBE   0x1176

Definition at line 94 of file libsbew.h.

#define REL_STRLEN   80

get driver information

Definition at line 59 of file libsbew.h.

#define RESET_DEV_PLL   2

Definition at line 297 of file libsbew.h.

#define RESET_DEV_TECT3   RESET_DEV_TEMUX

Definition at line 296 of file libsbew.h.

#define RESET_DEV_TEMUX   1

Definition at line 295 of file libsbew.h.

#define RX_ENABLED   0x02

Definition at line 274 of file libsbew.h.

#define SBE_BOARD_ID (   v,
  id 
)    ((v<<16) | id)

Definition at line 113 of file libsbew.h.

#define SS7_INTR_SDEC   0x00000040

Definition at line 263 of file libsbew.h.

#define SS7_INTR_SFILT   0x00000020

Definition at line 262 of file libsbew.h.

#define SS7_INTR_SINC   0x00000080

Definition at line 264 of file libsbew.h.

#define SS7_INTR_SUERR   0x00000100

Definition at line 265 of file libsbew.h.

#define TX_ENABLED   0x01

Definition at line 273 of file libsbew.h.

#define W256T3_CHIP_CPLD_8   0x30000000

Definition at line 182 of file libsbew.h.

#define W256T3_CHIP_EEPROM_8   0x40000000

Definition at line 183 of file libsbew.h.

#define W256T3_CHIP_MUSYCC_32   0x02000000

Definition at line 178 of file libsbew.h.

#define W256T3_CHIP_T8110_32   0x22000000

Definition at line 181 of file libsbew.h.

#define W256T3_CHIP_T8110_8   0x20000000

Definition at line 180 of file libsbew.h.

#define W256T3_CHIP_TEMUX_8   0x10000000

Definition at line 179 of file libsbew.h.

Typedef Documentation

typedef struct wancfg wcfg_t

Definition at line 511 of file libsbew.h.

Function Documentation

int wancfg_card_blink ( wcfg_t ,
int   
)
int wancfg_ctl ( wcfg_t ,
int  ,
void ,
int  ,
void ,
int   
)
int wancfg_del_card_stats ( wcfg_t )
int wancfg_del_chan_stats ( wcfg_t ,
int   
)
int wancfg_enable_ports ( wcfg_t ,
int   
)
int wancfg_free ( wcfg_t )
int wancfg_get_brdaddr ( wcfg_t ,
struct sbe_brd_addr  
)
int wancfg_get_brdinfo ( wcfg_t ,
struct sbe_brd_info  
)
int wancfg_get_card ( wcfg_t ,
struct sbecom_card_param  
)
int wancfg_get_card_chan_stats ( wcfg_t ,
struct sbecom_chan_stats  
)
int wancfg_get_card_sn ( wcfg_t )
int wancfg_get_card_stats ( wcfg_t ,
struct temux_card_stats  
)
int wancfg_get_chan ( wcfg_t ,
int  ,
struct sbecom_chan_param  
)
int wancfg_get_chan_stats ( wcfg_t ,
int  ,
struct sbecom_chan_stats  
)
int wancfg_get_drvinfo ( wcfg_t ,
int  ,
struct sbe_drv_info  
)
int wancfg_get_framer ( wcfg_t ,
int  ,
struct sbecom_framer_param  
)
int wancfg_get_iid ( wcfg_t ,
int  ,
struct sbe_iid_info  
)
int wancfg_get_sn ( wcfg_t ,
unsigned int  
)
wcfg_t* wancfg_init ( char ,
char  
)
int wancfg_read ( wcfg_t ,
int  ,
struct sbecom_wrt_vec  
)
int wancfg_reset_device ( wcfg_t ,
int   
)
int wancfg_set_card ( wcfg_t ,
struct sbecom_card_param  
)
int wancfg_set_chan ( wcfg_t ,
int  ,
struct sbecom_chan_param  
)
int wancfg_set_framer ( wcfg_t ,
int  ,
struct sbecom_framer_param  
)
int wancfg_set_loglevel ( wcfg_t ,
uint   
)
int wancfg_write ( wcfg_t ,
int  ,
struct sbecom_wrt_vec  
)