1 /* 2 * Copyright (c) 2016 QLogic Corporation. 3 * All rights reserved. 4 * www.qlogic.com 5 * 6 * See LICENSE.qede_pmd for copyright and licensing details. 7 */ 8 9 #ifndef __ECORE_STATUS_H__ 10 #define __ECORE_STATUS_H__ 11 12 enum _ecore_status_t { 13 ECORE_CONN_RESET = -13, 14 ECORE_UNKNOWN_ERROR = -12, 15 ECORE_NORESOURCES = -11, 16 ECORE_NODEV = -10, 17 ECORE_ABORTED = -9, 18 ECORE_AGAIN = -8, 19 ECORE_NOTIMPL = -7, 20 ECORE_EXISTS = -6, 21 ECORE_IO = -5, 22 ECORE_TIMEOUT = -4, 23 ECORE_INVAL = -3, 24 ECORE_BUSY = -2, 25 ECORE_NOMEM = -1, 26 ECORE_SUCCESS = 0, 27 /* PENDING is not an error and should be positive */ 28 ECORE_PENDING = 1, 29 }; 30 31 #endif /* __ECORE_STATUS_H__ */ 32