error.h 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /****************************************************************************
  2. ******* *******
  3. ******* E R R O R H E A D E R F I L E
  4. ******* *******
  5. ****************************************************************************
  6. Author : Ian Nandhra
  7. Date :
  8. *
  9. * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License as published by
  13. * the Free Software Foundation; either version 2 of the License, or
  14. * (at your option) any later version.
  15. *
  16. * This program is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. * GNU General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU General Public License
  22. * along with this program; if not, write to the Free Software
  23. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  24. Version : 0.01
  25. Mods
  26. ----------------------------------------------------------------------------
  27. Date By Description
  28. ----------------------------------------------------------------------------
  29. ***************************************************************************/
  30. #ifndef lint
  31. /* static char *_rio_error_h_sccs = "@(#)error.h 1.3"; */
  32. #endif
  33. #define E_NO_ERROR ((ushort) 0)
  34. #define E_PROCESS_NOT_INIT ((ushort) 1)
  35. #define E_LINK_TIMEOUT ((ushort) 2)
  36. #define E_NO_ROUTE ((ushort) 3)
  37. #define E_CONFUSED ((ushort) 4)
  38. #define E_HOME ((ushort) 5)
  39. #define E_CSUM_FAIL ((ushort) 6)
  40. #define E_DISCONNECTED ((ushort) 7)
  41. #define E_BAD_RUP ((ushort) 8)
  42. #define E_NO_VIRGIN ((ushort) 9)
  43. #define E_BOOT_RUP_BUSY ((ushort) 10)
  44. /*************************************************
  45. * Parsed to mem_halt()
  46. ************************************************/
  47. #define E_CHANALLOC ((ushort) 0x80)
  48. #define E_POLL_ALLOC ((ushort) 0x81)
  49. #define E_LTTWAKE ((ushort) 0x82)
  50. #define E_LTT_ALLOC ((ushort) 0x83)
  51. #define E_LRT_ALLOC ((ushort) 0x84)
  52. #define E_CIRRUS ((ushort) 0x85)
  53. #define E_MONITOR ((ushort) 0x86)
  54. #define E_PHB_ALLOC ((ushort) 0x87)
  55. #define E_ARRAY_ALLOC ((ushort) 0x88)
  56. #define E_QBUF_ALLOC ((ushort) 0x89)
  57. #define E_PKT_ALLOC ((ushort) 0x8a)
  58. #define E_GET_TX_Q_BUF ((ushort) 0x8b)
  59. #define E_GET_RX_Q_BUF ((ushort) 0x8c)
  60. #define E_MEM_OUT ((ushort) 0x8d)
  61. #define E_MMU_INIT ((ushort) 0x8e)
  62. #define E_LTT_INIT ((ushort) 0x8f)
  63. #define E_LRT_INIT ((ushort) 0x90)
  64. #define E_LINK_RUN ((ushort) 0x91)
  65. #define E_MONITOR_ALLOC ((ushort) 0x92)
  66. #define E_MONITOR_INIT ((ushort) 0x93)
  67. #define E_POLL_INIT ((ushort) 0x94)
  68. /*********** end of file ***********/