mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
![Linus Torvalds](/assets/img/avatar_default.png)
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
57 lines
1.4 KiB
C
57 lines
1.4 KiB
C
/*******************************************************************************
|
|
*
|
|
* (c) 1998 by Computone Corporation
|
|
*
|
|
********************************************************************************
|
|
*
|
|
*
|
|
* PACKAGE: Linux tty Device Driver for IntelliPort II family of multiport
|
|
* serial I/O controllers.
|
|
*
|
|
* DESCRIPTION: Driver constants and type definitions.
|
|
*
|
|
* NOTES:
|
|
*
|
|
*******************************************************************************/
|
|
#ifndef IP2TYPES_H
|
|
#define IP2TYPES_H
|
|
|
|
//*************
|
|
//* Constants *
|
|
//*************
|
|
|
|
// Define some limits for this driver. Ports per board is a hardware limitation
|
|
// that will not change. Current hardware limits this to 64 ports per board.
|
|
// Boards per driver is a self-imposed limit.
|
|
//
|
|
#define IP2_MAX_BOARDS 4
|
|
#define IP2_PORTS_PER_BOARD ABS_MOST_PORTS
|
|
#define IP2_MAX_PORTS (IP2_MAX_BOARDS*IP2_PORTS_PER_BOARD)
|
|
|
|
#define ISA 0
|
|
#define PCI 1
|
|
#define EISA 2
|
|
|
|
//********************
|
|
//* Type Definitions *
|
|
//********************
|
|
|
|
typedef struct tty_struct * PTTY;
|
|
typedef wait_queue_head_t PWAITQ;
|
|
|
|
typedef unsigned char UCHAR;
|
|
typedef unsigned int UINT;
|
|
typedef unsigned short USHORT;
|
|
typedef unsigned long ULONG;
|
|
|
|
typedef struct
|
|
{
|
|
short irq[IP2_MAX_BOARDS];
|
|
unsigned short addr[IP2_MAX_BOARDS];
|
|
int type[IP2_MAX_BOARDS];
|
|
#ifdef CONFIG_PCI
|
|
struct pci_dev *pci_dev[IP2_MAX_BOARDS];
|
|
#endif
|
|
} ip2config_t;
|
|
|
|
#endif
|