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)
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.
28 #include <linux/types.h>
31 #define TPAM_CMD_DSPLOAD 0x0001
32 #define TPAM_CMD_DSPSAVE 0x0002
33 #define TPAM_CMD_DSPRUN 0x0003
34 #define TPAM_CMD_LOOPMODEON 0x0004
35 #define TPAM_CMD_LOOPMODEOFF 0x0005
37 /* addresses of debug information zones on board */
38 #define TPAM_TRAPAUDIT_REGISTER 0x005493e4
39 #define TPAM_NCOAUDIT_REGISTER 0x00500000
40 #define TPAM_MSGAUDIT_REGISTER 0x008E30F0
42 /* length of debug information zones on board */
43 #define TPAM_TRAPAUDIT_LENGTH 10000
44 #define TPAM_NCOAUDIT_LENGTH 300000
45 #define TPAM_NCOAUDIT_COUNT 30
46 #define TPAM_MSGAUDIT_LENGTH 60000
48 /* IOCTL load/save parameter */
49 typedef struct tpam_dsp_ioctl {
50 __u32 address; /* address to load/save data */
51 __u32 data_len; /* size of data to be loaded/saved */
52 __u8 data[0]; /* data */