1 /* $Id: hysdn_if.h,v 1.1.8.3 2001/09/23 22:25:05 kai Exp $ 2 * 3 * Linux driver for HYSDN cards 4 * ioctl definitions shared by hynetmgr and driver. 5 * 6 * Author Werner Cornelius (werner@titro.de) for Hypercope GmbH 7 * Copyright 1999 by Werner Cornelius (werner@titro.de) 8 * 9 * This software may be used and distributed according to the terms 10 * of the GNU General Public License, incorporated herein by reference. 11 * 12 */ 13 14 /****************/ 15 /* error values */ 16 /****************/ 17 #define ERR_NONE 0 /* no error occurred */ 18 #define ERR_ALREADY_BOOT 1000 /* we are already booting */ 19 #define EPOF_BAD_MAGIC 1001 /* bad magic in POF header */ 20 #define ERR_BOARD_DPRAM 1002 /* board DPRAM failed */ 21 #define EPOF_INTERNAL 1003 /* internal POF handler error */ 22 #define EPOF_BAD_IMG_SIZE 1004 /* POF boot image size invalid */ 23 #define ERR_BOOTIMG_FAIL 1005 /* 1. stage boot image did not start */ 24 #define ERR_BOOTSEQ_FAIL 1006 /* 2. stage boot seq handshake timeout */ 25 #define ERR_POF_TIMEOUT 1007 /* timeout waiting for card pof ready */ 26 #define ERR_NOT_BOOTED 1008 /* operation only allowed when booted */ 27 #define ERR_CONF_LONG 1009 /* conf line is to long */ 28 #define ERR_INV_CHAN 1010 /* invalid channel number */ 29 #define ERR_ASYNC_TIME 1011 /* timeout sending async data */ 30 31 32 33 34