2 * Copyright 2003 Digi International (www.digi.com)
3 * Scott H Kilau <Scott_Kilau at digi dot com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2, or (at your option)
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the
12 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 * PURPOSE. See the GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 * NOTE: THIS IS A SHARED HEADER. DO NOT CHANGE CODING STYLE!!!
24 * This structure holds data needed for the intelligent <--> nonintelligent
46 unsigned char xmit_stopped
;
47 unsigned char recv_stopped
;
54 #define DIGI_KME ('e'<<8) | 98 /* Read/Write Host */
62 #define T_SP_PLUS 0005
70 #define T_NEO_EXPRESS 0001
71 #define T_CLASSIC 0002
83 #define T_A2K_4_8 0070
88 #define T_EISABUS 0200
91 /* Board State Definitions */
93 #define BD_RUNNING 0x0
94 #define BD_REASON 0x7f
95 #define BD_NOTFOUND 0x1
96 #define BD_NOIOPORT 0x2
100 #define BD_FAILED 0x6
101 #define BD_ALLOCATED 0x7
102 #define BD_TRIBOOT 0x8
103 #define BD_BADKME 0x80
105 #define DIGI_AIXON 0x0400 /* Aux flow control in fep */
107 /* Ioctls needed for dpa operation */
109 #define DIGI_GETDD ('d'<<8) | 248 /* get driver info */
110 #define DIGI_GETBD ('d'<<8) | 249 /* get board info */
111 #define DIGI_GET_NI_INFO ('d'<<8) | 250 /* nonintelligent state snfo */
113 /* Other special ioctls */
114 #define DIGI_TIMERIRQ ('d'<<8) | 251 /* Enable/disable RS_TIMER use */
115 #define DIGI_LOOPBACK ('d'<<8) | 252 /* Enable/disable UART internal loopback */