2018-12-11 21:54:06 +08:00
|
|
|
/*
|
2019-01-24 14:11:10 +08:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*
|
|
|
|
* Copyright (c) 2019 Western Digital Corporation or its affiliates.
|
2018-12-11 21:54:06 +08:00
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Anup Patel <anup.patel@wdc.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SBI_ERROR_H__
|
|
|
|
#define __SBI_ERROR_H__
|
|
|
|
|
|
|
|
#define SBI_OK 0
|
|
|
|
#define SBI_EUNKNOWN -1
|
|
|
|
#define SBI_EFAIL -2
|
|
|
|
#define SBI_EINVAL -3
|
|
|
|
#define SBI_ENOENT -4
|
|
|
|
#define SBI_ENOTSUPP -5
|
|
|
|
#define SBI_ENODEV -6
|
|
|
|
#define SBI_ENOSYS -7
|
|
|
|
#define SBI_ETIMEDOUT -8
|
|
|
|
#define SBI_EIO -9
|
|
|
|
#define SBI_EILL -10
|
2019-04-03 12:54:03 +08:00
|
|
|
#define SBI_ENOSPC -11
|
2018-12-11 21:54:06 +08:00
|
|
|
|
|
|
|
#endif
|