hysdn_if.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /* $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. /* 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 too long */
  28. #define ERR_INV_CHAN 1010 /* invalid channel number */
  29. #define ERR_ASYNC_TIME 1011 /* timeout sending async data */