DFC_ERRNO_START
#define DFC_SYS_ERROR (DFC_ERRNO_START + 1) /* General system err */
#define DFC_DRV_ERROR (DFC_ERRNO_START + 2) /* General driver err */
#define DFC_HBA_ERROR (DFC_ERRNO_START + 3) /* General HBA err */
#define DFC_IO_ERROR (DFC_ERRNO_START + 4) /* General IO err */
#define DFC_ARG_INVALID (DFC_ERRNO_START + 5) /* Invalid Argument */
#define DFC_ARG_MISALIGNED (DFC_ERRNO_START + 6) /* Misaligned Argument */
#define DFC_ARG_NULL (DFC_ERRNO_START + 7) /* NULL Argument */
#define DFC_ARG_TOOSMALL (DFC_ERRNO_START + 8) /* Argument too small */
#define DFC_ARG_TOOBIG (DFC_ERRNO_START + 9) /* Argument too big */
#define DFC_COPYIN_ERROR (DFC_ERRNO_START + 10) /* DDI copyin err */
#define DFC_COPYOUT_ERROR (DFC_ERRNO_START + 11) /* DDI copyout err */
#define DFC_TIMEOUT (DFC_ERRNO_START + 12) /* Resource timeout */
#define DFC_SYSRES_ERROR (DFC_ERRNO_START + 13) /* Out of sys resource */
#define DFC_DRVRES_ERROR (DFC_ERRNO_START + 14) /* Out of drv resource */
#define DFC_HBARES_ERROR (DFC_ERRNO_START + 15) /* Out of HBA resource */
#define DFC_OFFLINE_ERROR (DFC_ERRNO_START + 16) /* Driver offline */
#define DFC_ONLINE_ERROR (DFC_ERRNO_START + 17) /* Driver offline */
#define DFC_NPIV_DISABLED (DFC_ERRNO_START + 18) /* NPIV disabled */
#define DFC_NPIV_UNSUPPORTED (DFC_ERRNO_START + 19) /* NPIV not supported */
#define DFC_NPIV_ACTIVE (DFC_ERRNO_START + 20) /* NPIV active */
#define DFC_NOT_SUPPORTED (DFC_ERRNO_START + 21) /* Not supported */
#define DFC_NO_DATA (DFC_ERRNO_START + 22) /* No Data to return */
#define DFC_AUTH_NOT_CONFIGURED (DFC_ERRNO_START + 30)
#define DFC_AUTH_FAILED_NO_SA_FOUND (DFC_ERRNO_START + 31)
#define DFC_AUTH_INIT_OK_AUTH_FAILED (DFC_ERRNO_START + 32)
#define DFC_AUTH_COMPARE_FAILED (DFC_ERRNO_START + 33)
#define DFC_AUTH_WWN_NOT_FOUND (DFC_ERRNO_START + 34)
#define DFC_AUTH_PASSWORD_INVALID (DFC_ERRNO_START + 35)
#define DFC_AUTH_INVALID_ENTITY (DFC_ERRNO_START + 36)
#define DFC_AUTH_ENTITY_NOT_ACTIVE (DFC_ERRNO_START + 37)
#define DFC_AUTH_INVALID_OPERATION (DFC_ERRNO_START + 38)
#define DFC_AUTH_AUTHENTICATION_GOINGON (DFC_ERRNO_START + 39)
#define DFC_AUTH_CREATE_STORKEY_ERROR (DFC_ERRNO_START + 40)
#define DFC_AUTH_CREATE_PARMKEY_ERROR (DFC_ERRNO_START + 41)
#define DFC_AUTH_CREATE_AUTHKEY_ERROR (DFC_ERRNO_START + 42)
#define DFC_AUTH_CREATE_BORDKEY_ERROR (DFC_ERRNO_START + 43)
#define DFC_AUTH_AUTHENTICATION_NOT_SUPPORTED (DFC_ERRNO_START + 44)
#define DFC_AUTH_AUTHENTICATION_DISABLED (DFC_ERRNO_START + 45)
#define DFC_AUTH_CONFIG_NOT_FOUND (DFC_ERRNO_START + 47)
#define DFC_AUTH_LOCAL_REMOTE_PWD_EQUAL (DFC_ERRNO_START + 48)
#define DFC_INVALID_ADAPTER (DFC_ERRNO_START + 50)
#define DFC_RSP_BUF_OVERRUN (DFC_ERRNO_START + 51)
#define DFC_LINKDOWN_ERROR (DFC_ERRNO_START + 52)
#define DFC_SD_STAT_START (DFC_ERRNO_START + 60)
#define DFC_SD_OK (DFC_ERRNO_START + 60)
#define DFC_SD_ERROR_GENERIC (DFC_ERRNO_START + 61)
#define DFC_SD_ERROR_INVALID_ARG (DFC_ERRNO_START + 62)
#define DFC_SD_ERROR_INVALID_BOARD_ID (DFC_ERRNO_START + 63)
#define DFC_SD_ERROR_INVALID_PORT (DFC_ERRNO_START + 64)
#define DFC_SD_ERROR_NOT_SUPPORTED (DFC_ERRNO_START + 65)
#define DFC_SD_ERROR_CATEGORY_NOT_SUPPORTED (DFC_ERRNO_START + 66)
#define DFC_SD_ERROR_SUBCAT_NOT_SUPPORTED (DFC_ERRNO_START + 67)
#define DFC_SD_ERROR_MORE_DATA_AVAIL (DFC_ERRNO_START + 68)
#define DFC_SD_ERROR_EVENT_ALREADY_REG (DFC_ERRNO_START + 69)
#define DFC_SD_ERROR_NO_ACTIVE_REG (DFC_ERRNO_START + 70)
#define DFC_SD_ERROR_ARG_MISSING (DFC_ERRNO_START + 71)
#define DFC_SD_ERROR_NO_MEM (DFC_ERRNO_START + 72)
#define DFC_SD_ERROR_BUCKET_NOT_SET (DFC_ERRNO_START + 73)
#define DFC_SD_ERROR_REG_HANDLE (DFC_ERRNO_START + 74)
#define DFC_SD_ERROR_INVALID_SEARCH_TYPE (DFC_ERRNO_START + 75)
#define DFC_SD_ERROR_FUNCTION_NOT_SUPPORTED (DFC_ERRNO_START + 76)
#define DFC_SD_ERROR_OUT_OF_HANDLES (DFC_ERRNO_START + 77)
#define DFC_SD_ERROR_LIB_NOT_INIT (DFC_ERRNO_START + 78)
#define DFC_SD_ERROR_DATA_COLLECTION_ACTIVE (DFC_ERRNO_START + 79)
#define DFC_SD_ERROR_DATA_COLLECTION_NOT_ACTIVE (DFC_ERRNO_START + 80)
#define DFC_ERRNO_END (DFC_ERRNO_START + 128)