1 /*******************************************************************************
3 * (c) 1998 by Computone Corporation
5 ********************************************************************************
8 * PACKAGE: Linux tty Device Driver for IntelliPort II family of multiport
9 * serial I/O controllers.
11 * DESCRIPTION: Driver constants and type definitions.
15 *******************************************************************************/
23 // Define some limits for this driver. Ports per board is a hardware limitation
24 // that will not change. Current hardware limits this to 64 ports per board.
25 // Boards per driver is a self-imposed limit.
27 #define IP2_MAX_BOARDS 4
28 #define IP2_PORTS_PER_BOARD ABS_MOST_PORTS
29 #define IP2_MAX_PORTS (IP2_MAX_BOARDS*IP2_PORTS_PER_BOARD)
35 //********************
36 //* Type Definitions *
37 //********************
39 typedef struct tty_struct
* PTTY
;
40 typedef wait_queue_head_t PWAITQ
;
42 typedef unsigned char UCHAR
;
43 typedef unsigned int UINT
;
44 typedef unsigned short USHORT
;
45 typedef unsigned long ULONG
;
49 short irq
[IP2_MAX_BOARDS
];
50 unsigned short addr
[IP2_MAX_BOARDS
];
51 int type
[IP2_MAX_BOARDS
];
53 struct pci_dev
*pci_dev
[IP2_MAX_BOARDS
];