[CONNECTOR]: Update documentation to match reality.
[linux-2.6/verdex.git] / include / linux / isdn / tpam.h
blob9f65bea49d117fcd067ac391bfef5982914d0227
1 /* $Id: tpam.h,v 1.1.2.1 2001/06/08 08:23:46 kai Exp $
3 * Turbo PAM ISDN driver for Linux. (Kernel Driver)
5 * Copyright 2001 Stelian Pop <stelian.pop@fr.alcove.com>, AlcĂ´ve
7 * For all support questions please contact: <support@auvertech.fr>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2, or (at your option)
12 * any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 #ifndef _TPAM_H_
26 #define _TPAM_H_
28 #include <linux/types.h>
29 #include <linux/pci.h>
31 /* IOCTL commands */
32 #define TPAM_CMD_DSPLOAD 0x0001
33 #define TPAM_CMD_DSPSAVE 0x0002
34 #define TPAM_CMD_DSPRUN 0x0003
35 #define TPAM_CMD_LOOPMODEON 0x0004
36 #define TPAM_CMD_LOOPMODEOFF 0x0005
38 /* addresses of debug information zones on board */
39 #define TPAM_TRAPAUDIT_REGISTER 0x005493e4
40 #define TPAM_NCOAUDIT_REGISTER 0x00500000
41 #define TPAM_MSGAUDIT_REGISTER 0x008E30F0
43 /* length of debug information zones on board */
44 #define TPAM_TRAPAUDIT_LENGTH 10000
45 #define TPAM_NCOAUDIT_LENGTH 300000
46 #define TPAM_NCOAUDIT_COUNT 30
47 #define TPAM_MSGAUDIT_LENGTH 60000
49 /* IOCTL load/save parameter */
50 typedef struct tpam_dsp_ioctl {
51 __u32 address; /* address to load/save data */
52 __u32 data_len; /* size of data to be loaded/saved */
53 __u8 data[0]; /* data */
54 } tpam_dsp_ioctl;
56 #endif /* _TPAM_H_ */