hysdn_if.h 1.3 KB

123456789101112131415161718192021222324252627282930313233
  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. /* error values */
  15. /****************/
  16. #define ERR_NONE 0 /* no error occurred */
  17. #define ERR_ALREADY_BOOT 1000 /* we are already booting */
  18. #define EPOF_BAD_MAGIC 1001 /* bad magic in POF header */
  19. #define ERR_BOARD_DPRAM 1002 /* board DPRAM failed */
  20. #define EPOF_INTERNAL 1003 /* internal POF handler error */
  21. #define EPOF_BAD_IMG_SIZE 1004 /* POF boot image size invalid */
  22. #define ERR_BOOTIMG_FAIL 1005 /* 1. stage boot image did not start */
  23. #define ERR_BOOTSEQ_FAIL 1006 /* 2. stage boot seq handshake timeout */
  24. #define ERR_POF_TIMEOUT 1007 /* timeout waiting for card pof ready */
  25. #define ERR_NOT_BOOTED 1008 /* operation only allowed when booted */
  26. #define ERR_CONF_LONG 1009 /* conf line is too long */
  27. #define ERR_INV_CHAN 1010 /* invalid channel number */
  28. #define ERR_ASYNC_TIME 1011 /* timeout sending async data */