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