xref: /openbmc/linux/include/linux/kernelcapi.h (revision f59aba2f)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * $Id: kernelcapi.h,v 1.8.6.2 2001/02/07 11:31:31 kai Exp $
4  *
5  * Kernel CAPI 2.0 Interface for Linux
6  *
7  * (c) Copyright 1997 by Carsten Paeth (calle@calle.in-berlin.de)
8  *
9  */
10 #ifndef __KERNELCAPI_H__
11 #define __KERNELCAPI_H__
12 
13 #include <linux/list.h>
14 #include <linux/skbuff.h>
15 #include <linux/workqueue.h>
16 #include <linux/notifier.h>
17 #include <uapi/linux/kernelcapi.h>
18 
19 #define CAPI_NOERROR                      0x0000
20 
21 #define CAPI_TOOMANYAPPLS		  0x1001
22 #define CAPI_LOGBLKSIZETOSMALL	          0x1002
23 #define CAPI_BUFFEXECEEDS64K 	          0x1003
24 #define CAPI_MSGBUFSIZETOOSMALL	          0x1004
25 #define CAPI_ANZLOGCONNNOTSUPPORTED	  0x1005
26 #define CAPI_REGRESERVED		  0x1006
27 #define CAPI_REGBUSY 		          0x1007
28 #define CAPI_REGOSRESOURCEERR	          0x1008
29 #define CAPI_REGNOTINSTALLED 	          0x1009
30 #define CAPI_REGCTRLERNOTSUPPORTEXTEQUIP  0x100a
31 #define CAPI_REGCTRLERONLYSUPPORTEXTEQUIP 0x100b
32 
33 #define CAPI_ILLAPPNR		          0x1101
34 #define CAPI_ILLCMDORSUBCMDORMSGTOSMALL   0x1102
35 #define CAPI_SENDQUEUEFULL		  0x1103
36 #define CAPI_RECEIVEQUEUEEMPTY	          0x1104
37 #define CAPI_RECEIVEOVERFLOW 	          0x1105
38 #define CAPI_UNKNOWNNOTPAR		  0x1106
39 #define CAPI_MSGBUSY 		          0x1107
40 #define CAPI_MSGOSRESOURCEERR	          0x1108
41 #define CAPI_MSGNOTINSTALLED 	          0x1109
42 #define CAPI_MSGCTRLERNOTSUPPORTEXTEQUIP  0x110a
43 #define CAPI_MSGCTRLERONLYSUPPORTEXTEQUIP 0x110b
44 
45 #endif				/* __KERNELCAPI_H__ */
46