fm_err.h 424 B

1234567891011121314151617181920212223
  1. #ifndef __FM_ERR_H__
  2. #define __FM_ERR_H__
  3. #include <linux/kernel.h> /* for printk() */
  4. #define FM_ERR_BASE 1000
  5. typedef enum fm_drv_err_t {
  6. FM_EOK = FM_ERR_BASE,
  7. FM_EBUF,
  8. FM_EPARA,
  9. FM_ELINK,
  10. FM_ELOCK,
  11. FM_EFW,
  12. FM_ECRC,
  13. FM_EWRST, /* wholechip reset */
  14. FM_ESRST, /* subsystem reset */
  15. FM_EPATCH,
  16. FM_ENOMEM,
  17. FM_EINUSE, /* other client is using this object */
  18. FM_EMAX
  19. } fm_drv_err_t;
  20. #endif /* __FM_ERR_H__ */