slub: rename calculate_min_partial() to set_min_partial()
[linux-block.git] / drivers / staging / benet / bestatus.h
1 /*
2  * Copyright (C) 2005 - 2008 ServerEngines
3  * All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License version 2
7  * as published by the Free Software Foundation.  The full GNU General
8  * Public License is included in this distribution in the file called COPYING.
9  *
10  * Contact Information:
11  * linux-drivers@serverengines.com
12  *
13  * ServerEngines
14  * 209 N. Fair Oaks Ave
15  * Sunnyvale, CA 94085
16  */
17 #ifndef _BESTATUS_H_
18 #define _BESTATUS_H_
19
20 #define BE_SUCCESS                      (0x00000000L)
21 /*
22  * MessageId: BE_PENDING
23  *  The BladeEngine Driver call succeeded, and pended operation.
24  */
25 #define BE_PENDING                       (0x20070001L)
26 #define BE_STATUS_PENDING                (BE_PENDING)
27 /*
28  * MessageId: BE_NOT_OK
29  *  An error occurred.
30  */
31 #define BE_NOT_OK                        (0xE0070002L)
32 /*
33  * MessageId: BE_STATUS_SYSTEM_RESOURCES
34  *  Insufficient host system resources exist to complete the API.
35  */
36 #define BE_STATUS_SYSTEM_RESOURCES       (0xE0070003L)
37 /*
38  * MessageId: BE_STATUS_CHIP_RESOURCES
39  *  Insufficient chip resources exist to complete the API.
40  */
41 #define BE_STATUS_CHIP_RESOURCES         (0xE0070004L)
42 /*
43  * MessageId: BE_STATUS_NO_RESOURCE
44  *  Insufficient resources to complete request.
45  */
46 #define BE_STATUS_NO_RESOURCE            (0xE0070005L)
47 /*
48  * MessageId: BE_STATUS_BUSY
49  *  Resource is currently busy.
50  */
51 #define BE_STATUS_BUSY                   (0xE0070006L)
52 /*
53  * MessageId: BE_STATUS_INVALID_PARAMETER
54  *  Invalid Parameter in request.
55  */
56 #define BE_STATUS_INVALID_PARAMETER      (0xE0000007L)
57 /*
58  * MessageId: BE_STATUS_NOT_SUPPORTED
59  *  Requested operation is not supported.
60  */
61 #define BE_STATUS_NOT_SUPPORTED          (0xE000000DL)
62
63 /*
64  * ***************************************************************************
65  *                     E T H E R N E T   S T A T U S
66  * ***************************************************************************
67  */
68
69 /*
70  * MessageId: BE_ETH_TX_ERROR
71  *  The Ethernet device driver failed to transmit a packet.
72  */
73 #define BE_ETH_TX_ERROR                  (0xE0070101L)
74
75 /*
76  * ***************************************************************************
77  *                     S H A R E D   S T A T U S
78  * ***************************************************************************
79  */
80
81 /*
82  * MessageId: BE_STATUS_VBD_INVALID_VERSION
83  *  The device driver is not compatible with this version of the VBD.
84  */
85 #define BE_STATUS_INVALID_VERSION    (0xE0070402L)
86 /*
87  * MessageId: BE_STATUS_DOMAIN_DENIED
88  *  The operation failed to complete due to insufficient access
89  *  rights for the requesting domain.
90  */
91 #define BE_STATUS_DOMAIN_DENIED          (0xE0070403L)
92 /*
93  * MessageId: BE_STATUS_TCP_NOT_STARTED
94  *  The embedded TCP/IP stack has not been started.
95  */
96 #define BE_STATUS_TCP_NOT_STARTED        (0xE0070409L)
97 /*
98  * MessageId: BE_STATUS_NO_MCC_WRB
99  *  No free MCC WRB are available for posting the request.
100  */
101 #define BE_STATUS_NO_MCC_WRB                 (0xE0070414L)
102
103 #endif /* _BESTATUS_ */