linux/drivers/net/fddi/skfp/h/smtstate.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/******************************************************************************
 *
 *	(C)Copyright 1998,1999 SysKonnect,
 *	a business unit of Schneider & Koch & Co. Datensysteme GmbH.
 *
 *	The information in this file is provided "AS IS" without warranty.
 *
 ******************************************************************************/

#ifndef _SKFP_H_SMTSTATE_H_
#define _SKFP_H_SMTSTATE_H_

/*
 *	SMT state definitions
 */

#ifndef	KERNEL
/*
 * PCM states
 */
#define PC0_OFF
#define PC1_BREAK
#define PC2_TRACE
#define PC3_CONNECT
#define PC4_NEXT
#define PC5_SIGNAL
#define PC6_JOIN
#define PC7_VERIFY
#define PC8_ACTIVE
#define PC9_MAINT

/*
 * PCM modes
 */
#define PM_NONE
#define PM_PEER
#define PM_TREE

/*
 * PCM type
 */
#define TA
#define TB
#define TS
#define TM
#define TNONE

/*
 * CFM states
 */
#define SC0_ISOLATED
#define SC1_WRAP_A
#define SC2_WRAP_B
#define SC4_THRU_A
#define SC5_THRU_B
#define SC7_WRAP_S

/*
 * ECM states
 */
#define EC0_OUT
#define EC1_IN
#define EC2_TRACE
#define EC3_LEAVE
#define EC4_PATH_TEST
#define EC5_INSERT
#define EC6_CHECK
#define EC7_DEINSERT

/*
 * RMT states
 */
#define RM0_ISOLATED
#define RM1_NON_OP
#define RM2_RING_OP
#define RM3_DETECT
#define RM4_NON_OP_DUP
#define RM5_RING_OP_DUP
#define RM6_DIRECTED
#define RM7_TRACE
#endif

struct pcm_state {} ;

struct smt_state {} ;

#endif