linux/drivers/net/fddi/skfp/h/fplustm.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.
 *
 ******************************************************************************/

/*
 *	AMD Fplus in tag mode data structs
 *	defs for fplustm.c
 */

#ifndef	_FPLUS_
#define _FPLUS_

#ifndef	HW_PTR
#define HW_PTR
#endif

/*
 * fplus error statistic structure
 */
struct err_st {} ;

/*
 *	Transmit Descriptor struct
 */
struct s_smt_fp_txd {} ;

/*
 *	Receive Descriptor struct
 */
struct s_smt_fp_rxd {} ;

/*
 *	Descriptor Union Definition
 */
s_fp_descr ;

/*
 *	TxD Ring Control struct
 */
struct s_smt_tx_queue {} ;

/*
 *	RxD Ring Control struct
 */
struct s_smt_rx_queue {} ;

#define VOID_FRAME_OFF
#define CLAIM_FRAME_OFF
#define BEACON_FRAME_OFF
#define DBEACON_FRAME_OFF
#define RX_FIFO_OFF
						/* the RX_FIFO_SPACE */

#define RBC_MEM_SIZE
#define SEND_ASYNC_AS_SYNC
#define SYNC_TRAFFIC_ON

/* big FIFO memory */
#define RX_FIFO_SPACE
#define TX_FIFO_SPACE

#define TX_SMALL_FIFO
#define TX_MEDIUM_FIFO	
#define TX_LARGE_FIFO	

#define RX_SMALL_FIFO
#define RX_LARGE_FIFO	

struct s_smt_fifo_conf {} ;

#define FM_ADDRX

struct s_smt_fp {} ;

/*
 * modes for mac_set_rx_mode()
 */
#define RX_ENABLE_ALLMULTI
#define RX_DISABLE_ALLMULTI
#define RX_ENABLE_PROMISC
#define RX_DISABLE_PROMISC
#define RX_ENABLE_NSA
#define RX_DISABLE_NSA


/*
 * support for byte reversal in AIX
 * (descriptors and pointers must be byte reversed in memory
 *  CPU is big endian; M-Channel is little endian)
 */
#ifdef	AIX
#define MDR_REV
#define AIX_REVERSE
#else
#ifndef AIX_REVERSE
#define AIX_REVERSE
#endif
#endif

#ifdef	MDR_REV	
#define MDR_REVERSE
#else
#ifndef MDR_REVERSE
#define MDR_REVERSE
#endif
#endif

#endif