- Kai Germaschewski: ymfpci cleanups and resource leak fixes
[davej-history.git] / include / linux / hysdn_if.h
blob68cc72078e10e209a579d5d95c8b8c2c3a84573b
1 /* $Id: hysdn_if.h,v 1.1 2000/02/10 19:47:50 werner Exp $
3 * Linux driver for HYSDN cards, ioctl definitions shared by hynetmgr and driver.
4 * written by Werner Cornelius (werner@titro.de) for Hypercope GmbH
6 * Copyright 1999 by Werner Cornelius (werner@titro.de)
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2, or (at your option)
11 * any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 * $Log: hysdn_if.h,v $
23 * Revision 1.1 2000/02/10 19:47:50 werner
25 * Initial release
30 /****************/
31 /* error values */
32 /****************/
33 #define ERR_NONE 0 /* no error occured */
34 #define ERR_ALREADY_BOOT 1000 /* we are already booting */
35 #define EPOF_BAD_MAGIC 1001 /* bad magic in POF header */
36 #define ERR_BOARD_DPRAM 1002 /* board DPRAM failed */
37 #define EPOF_INTERNAL 1003 /* internal POF handler error */
38 #define EPOF_BAD_IMG_SIZE 1004 /* POF boot image size invalid */
39 #define ERR_BOOTIMG_FAIL 1005 /* 1. stage boot image did not start */
40 #define ERR_BOOTSEQ_FAIL 1006 /* 2. stage boot seq handshake timeout */
41 #define ERR_POF_TIMEOUT 1007 /* timeout waiting for card pof ready */
42 #define ERR_NOT_BOOTED 1008 /* operation only allowed when booted */
43 #define ERR_CONF_LONG 1009 /* conf line is to long */
44 #define ERR_INV_CHAN 1010 /* invalid channel number */
45 #define ERR_ASYNC_TIME 1011 /* timeout sending async data */