/* smctr.h: SMC Token Ring driver header for Linux
*
* Authors:
* - Jay Schulist <jschlst@samba.org>
*/
#ifndef __LINUX_SMCTR_H
#define __LINUX_SMCTR_H
#ifdef __KERNEL__
#define MAX_TX_QUEUE 10
#define SMC_HEADER_SIZE 14
#define SMC_PAGE_OFFSET(X) (((unsigned long)(X) - tp->ram_access) & tp->page_offset_mask)
#define INIT 0x0D
#define RQ_ATTCH 0x10
#define RQ_STATE 0x0F
#define RQ_ADDR 0x0E
#define CHG_PARM 0x0C
#define RSP 0x00
#define TX_FORWARD 0x09
#define AC_FC_DAT ((3<<13) | 1)
#define DAT 0x07
#define RPT_NEW_MON 0x25
#define RPT_SUA_CHG 0x26
#define RPT_ACTIVE_ERR 0x28
#define RPT_N